Skip to content

Commit

Permalink
Use Python 3.8 for linters etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Jan 15, 2024
1 parent e65794d commit fa3caa5
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 @@ -171,7 +171,7 @@ license-key = "MIT"
package = "pyproject_parser"

[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 @@ -11,7 +11,7 @@ version: '0.9.1'
license: 'MIT'
short_desc: "Parser for 'pyproject.toml'"

python_deploy_version: 3.6
python_deploy_version: 3.8
sphinx_html_theme: furo
preserve_custom_theme: true
tox_testenv_extras: readme,cli
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ test =
pypy38
pypy39
qa = mypy, lint
cov = py36, coverage
cov = py38, coverage

[testenv]
setenv =
Expand Down Expand Up @@ -114,7 +114,7 @@ commands =
check-wheel-contents dist/

[testenv:lint]
basepython = python3.6
basepython = python3.8
changedir = {toxinidir}
ignore_errors = True
skip_install = True
Expand Down Expand Up @@ -144,15 +144,15 @@ deps =
commands = python3 -m flake8_rst_docstrings_sphinx pyproject_parser 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 pyproject_parser {posargs}

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

[testenv:pyup]
basepython = python3.6
basepython = python3.8
skip_install = True
ignore_errors = True
changedir = {toxinidir}
Expand All @@ -172,7 +172,7 @@ extras = readme,cli
commands = pyup_dirs pyproject_parser 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 fa3caa5

Please sign in to comment.