Skip to content

Commit c3703de

Browse files
committed
Run linters on Python 3.7
1 parent 8f8d54a commit c3703de

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

.github/workflows/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
if: steps.changes.outputs.code == 'true'
3636
uses: "actions/setup-python@v2"
3737
with:
38-
python-version: "3.6"
38+
python-version: "3.7"
3939

4040
- name: Install dependencies 🔧
4141
if: steps.changes.outputs.code == 'true'

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
if: steps.changes.outputs.code == 'true'
4141
uses: "actions/setup-python@v2"
4242
with:
43-
python-version: "3.6"
43+
python-version: "3.7"
4444

4545
- name: Install dependencies 🔧
4646
run: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ autodoc_exclude_members = [
125125
]
126126

127127
[tool.mypy]
128-
python_version = "3.6"
128+
python_version = "3.7"
129129
namespace_packages = true
130130
check_untyped_defs = true
131131
warn_unused_ignores = true

repo_helper.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ sphinx_conf_epilogue:
5454
- needspace_amount = r"5\baselineskip"
5555
- 'favicons = [{"rel": "icon", "href": "https://python-formate.github.io/assets/formate.ico", "sizes": "48x48", "type": "image/vnd.microsoft.icon"}]'
5656

57-
58-
tox_unmanaged:
59-
- testenv:lint
60-
6157
keywords:
6258
- flake8
6359
- sphinx

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ requires =
3737
[envlists]
3838
test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37, pypy38
3939
qa = mypy, lint
40-
cov = py36, coverage
40+
cov = py37, coverage
4141

4242
[testenv]
4343
setenv =
@@ -99,15 +99,15 @@ deps =
9999
commands = python3 -m flake8_rst_docstrings_sphinx flake8_sphinx_links tests --allow-toolbox {posargs}
100100

101101
[testenv:perflint]
102-
basepython = python3.6
102+
basepython = python3.7
103103
changedir = {toxinidir}
104104
ignore_errors = True
105105
skip_install = True
106106
deps = perflint
107107
commands = python3 -m perflint flake8_sphinx_links {posargs}
108108

109109
[testenv:mypy]
110-
basepython = python3.6
110+
basepython = python3.7
111111
ignore_errors = True
112112
changedir = {toxinidir}
113113
deps =
@@ -116,15 +116,15 @@ deps =
116116
commands = mypy flake8_sphinx_links tests {posargs}
117117

118118
[testenv:pyup]
119-
basepython = python3.6
119+
basepython = python3.7
120120
skip_install = True
121121
ignore_errors = True
122122
changedir = {toxinidir}
123123
deps = pyupgrade-directories
124124
commands = pyup_dirs flake8_sphinx_links tests --py36-plus --recursive
125125

126126
[testenv:coverage]
127-
basepython = python3.6
127+
basepython = python3.7
128128
skip_install = True
129129
ignore_errors = True
130130
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)