Skip to content

Commit 7013168

Browse files
committed
Use Python 3.8 for flake8, mypy etc.
1 parent fcad7f2 commit 7013168

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
@@ -161,7 +161,7 @@ platforms = [ "Windows", "macOS", "Linux",]
161161
license-key = "MIT"
162162

163163
[tool.mypy]
164-
python_version = "3.6"
164+
python_version = "3.8"
165165
namespace_packages = true
166166
check_untyped_defs = true
167167
warn_unused_ignores = true

repo_helper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use_flit: true
1313
min_coverage: 90
1414
docs_fail_on_warning: true
1515
mypy_version: "0.971"
16-
python_deploy_version: 3.6
16+
python_deploy_version: 3.8
1717

1818
conda_extras:
1919
- none

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ test =
5757
pypy38-click{7.1,8.0,8.1}
5858
pypy39-click{7.1,8.0,8.1}
5959
qa = mypy, lint
60-
cov = py36-click7.1, coverage
60+
cov = py38-click7.1, coverage
6161

6262
[testenv:.package]
6363
setenv =
@@ -100,7 +100,7 @@ commands =
100100
check-wheel-contents dist/
101101

102102
[testenv:lint]
103-
basepython = python3.6
103+
basepython = python3.8
104104
changedir = {toxinidir}
105105
ignore_errors = True
106106
skip_install = False
@@ -130,15 +130,15 @@ deps =
130130
commands = python3 -m flake8_rst_docstrings_sphinx consolekit tests --allow-toolbox {posargs}
131131

132132
[testenv:perflint]
133-
basepython = python3.6
133+
basepython = python3.8
134134
changedir = {toxinidir}
135135
ignore_errors = True
136136
skip_install = True
137137
deps = perflint
138138
commands = python3 -m perflint consolekit {posargs}
139139

140140
[testenv:mypy]
141-
basepython = python3.6
141+
basepython = python3.8
142142
ignore_errors = True
143143
changedir = {toxinidir}
144144
deps =
@@ -148,15 +148,15 @@ deps =
148148
commands = mypy consolekit tests {posargs}
149149

150150
[testenv:pyup]
151-
basepython = python3.6
151+
basepython = python3.8
152152
skip_install = True
153153
ignore_errors = True
154154
changedir = {toxinidir}
155155
deps = pyupgrade-directories
156156
commands = pyup_dirs consolekit tests --py36-plus --recursive
157157

158158
[testenv:coverage]
159-
basepython = python3.6
159+
basepython = python3.8
160160
skip_install = True
161161
ignore_errors = True
162162
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)