Skip to content

Commit 0be5b57

Browse files
committed
Use Python 3.8 for flake8, mypy etc.
1 parent 4178176 commit 0be5b57

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-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@v4"
3737
with:
38-
python-version: "3.6"
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@v4"
4242
with:
43-
python-version: "3.6"
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
@@ -152,7 +152,7 @@ license-key = "MIT"
152152
additional-files = [ "include domdf_python_tools/google-10000-english-no-swears.txt",]
153153

154154
[tool.mypy]
155-
python_version = "3.6"
155+
python_version = "3.8"
156156
namespace_packages = true
157157
check_untyped_defs = true
158158
warn_unused_ignores = true

repo_helper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ username: "domdfcoding"
88
license: 'MIT'
99
short_desc: 'Helpful functions for Python 🐍 🛠️'
1010

11-
python_deploy_version: 3.6
11+
python_deploy_version: 3.8
1212
requires_python: 3.6
1313
min_coverage: 95
1414
tox_testenv_extras: all

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ test =
6060
pypy39
6161
pypy310
6262
qa = mypy, lint
63-
cov = py36, coverage
63+
cov = py38, coverage
6464

6565
[testenv:.package]
6666
setenv =
@@ -105,7 +105,7 @@ commands =
105105
check-wheel-contents dist/
106106

107107
[testenv:lint]
108-
basepython = python3.6
108+
basepython = python3.8
109109
changedir = {toxinidir}
110110
ignore_errors = True
111111
skip_install = False
@@ -135,15 +135,15 @@ deps =
135135
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}
136136

137137
[testenv:perflint]
138-
basepython = python3.6
138+
basepython = python3.8
139139
changedir = {toxinidir}
140140
ignore_errors = True
141141
skip_install = True
142142
deps = perflint
143143
commands = python3 -m perflint domdf_python_tools {posargs}
144144

145145
[testenv:mypy]
146-
basepython = python3.6
146+
basepython = python3.8
147147
ignore_errors = True
148148
changedir = {toxinidir}
149149
extras = all
@@ -155,7 +155,7 @@ deps =
155155
commands = mypy domdf_python_tools tests {posargs}
156156

157157
[testenv:pyup]
158-
basepython = python3.6
158+
basepython = python3.8
159159
skip_install = True
160160
ignore_errors = True
161161
changedir = {toxinidir}
@@ -164,7 +164,7 @@ extras = all
164164
commands = pyup_dirs domdf_python_tools tests --py36-plus --recursive
165165

166166
[testenv:coverage]
167-
basepython = python3.6
167+
basepython = python3.8
168168
skip_install = True
169169
ignore_errors = True
170170
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)