Skip to content

Commit

Permalink
Use Python 3.8 for flake8, mypy etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Dec 10, 2023
1 parent 4178176 commit 0be5b57
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v4"
with:
python-version: "3.6"
python-version: "3.8"

- name: Install dependencies 🔧
if: steps.changes.outputs.code == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v4"
with:
python-version: "3.6"
python-version: "3.8"

- name: Install dependencies 🔧
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ license-key = "MIT"
additional-files = [ "include domdf_python_tools/google-10000-english-no-swears.txt",]

[tool.mypy]
python_version = "3.6"
python_version = "3.8"
namespace_packages = true
check_untyped_defs = true
warn_unused_ignores = true
Expand Down
2 changes: 1 addition & 1 deletion repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ username: "domdfcoding"
license: 'MIT'
short_desc: 'Helpful functions for Python 🐍 🛠️'

python_deploy_version: 3.6
python_deploy_version: 3.8
requires_python: 3.6
min_coverage: 95
tox_testenv_extras: all
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ test =
pypy39
pypy310
qa = mypy, lint
cov = py36, coverage
cov = py38, coverage

[testenv:.package]
setenv =
Expand Down Expand Up @@ -105,7 +105,7 @@ commands =
check-wheel-contents dist/

[testenv:lint]
basepython = python3.6
basepython = python3.8
changedir = {toxinidir}
ignore_errors = True
skip_install = False
Expand Down Expand Up @@ -135,15 +135,15 @@ deps =
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}

[testenv:perflint]
basepython = python3.6
basepython = python3.8
changedir = {toxinidir}
ignore_errors = True
skip_install = True
deps = perflint
commands = python3 -m perflint domdf_python_tools {posargs}

[testenv:mypy]
basepython = python3.6
basepython = python3.8
ignore_errors = True
changedir = {toxinidir}
extras = all
Expand All @@ -155,7 +155,7 @@ deps =
commands = mypy domdf_python_tools tests {posargs}

[testenv:pyup]
basepython = python3.6
basepython = python3.8
skip_install = True
ignore_errors = True
changedir = {toxinidir}
Expand All @@ -164,7 +164,7 @@ extras = all
commands = pyup_dirs domdf_python_tools tests --py36-plus --recursive

[testenv:coverage]
basepython = python3.6
basepython = python3.8
skip_install = True
ignore_errors = True
whitelist_externals = /bin/bash
Expand Down

0 comments on commit 0be5b57

Please sign in to comment.