Skip to content

Commit 010fc25

Browse files
committed
Run linters etc. on Python 3.6
1 parent e246b7f commit 010fc25

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
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@v5"
3737
with:
38-
python-version: "3.7"
38+
python-version: "3.8"
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@v5"
4242
with:
43-
python-version: "3.7"
43+
python-version: "3.8"
4444

4545
- name: Install dependencies 🔧
4646
run: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ autodoc_exclude_members = [
130130
]
131131

132132
[tool.mypy]
133-
python_version = "3.7"
133+
python_version = "3.8"
134134
namespace_packages = true
135135
check_untyped_defs = true
136136
warn_unused_ignores = true

repo_helper.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ license: 'BSD'
1212
short_desc: 'Display a warning at the top of module documentation that it has additional requirements.'
1313

1414
use_whey: true
15-
python_deploy_version: 3.6
1615
docs_fail_on_warning: true
1716
preserve_custom_theme: true
1817

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ test =
5555
pypy38-sphinx{4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2,7.3,7.4,8.0,8.1,8.2}
5656
pypy39-sphinx{4.3,4.4,4.5,5.0,5.1,5.2,5.3,6.0,6.1,6.2,7.0,7.1,7.2,7.3,7.4,8.0,8.1,8.2}
5757
qa = mypy, lint
58-
cov = py37-sphinx3.4, coverage
58+
cov = py38-sphinx3.4, coverage
5959
raspi = py3{6,7,8,9,10}-sphinx4.5
6060

6161
[testenv:.package]
@@ -103,7 +103,7 @@ commands =
103103
check-wheel-contents dist/
104104

105105
[testenv:lint]
106-
basepython = python3.7
106+
basepython = python3.8
107107
changedir = {toxinidir}
108108
ignore_errors = True
109109
skip_install = True
@@ -133,15 +133,15 @@ deps =
133133
commands = python3 -m flake8_rst_docstrings_sphinx sphinxcontrib/extras_require tests --allow-toolbox {posargs}
134134

135135
[testenv:perflint]
136-
basepython = python3.7
136+
basepython = python3.8
137137
changedir = {toxinidir}
138138
ignore_errors = True
139139
skip_install = True
140140
deps = perflint
141141
commands = python3 -m perflint sphinxcontrib.extras_require {posargs}
142142

143143
[testenv:mypy]
144-
basepython = python3.7
144+
basepython = python3.8
145145
ignore_errors = True
146146
changedir = {toxinidir}
147147
deps =
@@ -151,15 +151,15 @@ deps =
151151
commands = mypy sphinxcontrib/extras_require tests {posargs}
152152

153153
[testenv:pyup]
154-
basepython = python3.7
154+
basepython = python3.8
155155
skip_install = True
156156
ignore_errors = True
157157
changedir = {toxinidir}
158158
deps = pyupgrade-directories
159159
commands = pyup_dirs sphinxcontrib/extras_require tests --py36-plus --recursive
160160

161161
[testenv:coverage]
162-
basepython = python3.7
162+
basepython = python3.8
163163
skip_install = True
164164
ignore_errors = True
165165
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)