Skip to content

Commit

Permalink
Upgrade to python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
dmzoneill committed Apr 17, 2024
1 parent f54f775 commit 0c32ff9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ isolated_build = True

[testenv]
description = Invoke pytest to run automated tests
basepython = python3.11
deps =
-r {toxinidir}/tests/requirements.txt
setenv =
Expand All @@ -28,7 +29,7 @@ commands =

[testenv:lint]
description = Run code linters
basepython = python3.8
basepython = python3.11
commands=
black --check .
flake8 --version
Expand All @@ -42,6 +43,7 @@ description =
build: Build the package in isolation according to PEP517, see https://github.com/pypa/build
clean: Remove old distribution files and temporary build artifacts (./build and ./dist)
# https://setuptools.pypa.io/en/stable/build_meta.html#how-to-use-it
basepython = python3.11
skip_install = True
changedir = {toxinidir}
deps =
Expand All @@ -59,6 +61,7 @@ description =
docs: Invoke sphinx-build to build the docs
doctests: Invoke sphinx-build to run doctests
linkcheck: Check for broken links in the documentation
basepython = python3.11
passenv =
SETUPTOOLS_*
setenv =
Expand All @@ -80,6 +83,7 @@ description =
By default, it uses testpypi. If you really want to publish your package
to be publicly accessible in PyPI, use the `-- --repository pypi` option.
skip_install = True
basepython = python3.11
changedir = {toxinidir}
passenv =
# See: https://twine.readthedocs.io/en/latest/
Expand Down

0 comments on commit 0c32ff9

Please sign in to comment.