Skip to content

Commit

Permalink
Base python is now python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhea committed Jan 11, 2025
1 parent 722d5f2 commit 29defe8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v4
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.12
python-version: 3.13
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.12
python-version: 3.13
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Other",
"Intended Audience :: Developers",
"Intended Audience :: Education",
Expand Down Expand Up @@ -81,6 +82,6 @@ disable_error_code = ["name-defined", "no-redef", "index", "no-any-return", "mis

[tool.black]
line-length = 120
target-version = ["py38", "py39", "py310", "py311", "py312"]
target-version = ["py38", "py39", "py310", "py311", "py312", "pt313"]
safe = true
skip-string-normalization = true
13 changes: 7 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
min_version = 4.0
env_list = py38, py39, py310, py311, py312,
env_list = py38, py39, py310, py311, py312, py313,
mypy, flake8, bandit, black,
full_tests
isolated_build = true
Expand All @@ -13,30 +13,31 @@ python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313

[testenv]
setenv = PYTHONPATH = {toxinidir}
deps = .[tests]
commands = pytest --regular

[testenv:mypy]
basepython = python3.12
basepython = python3.13
commands = mypy

[testenv:bandit]
basepython = python3.12
basepython = python3.13
commands = bandit -r -s B101 flipjump tests

[testenv:flake8]
basepython = python3.12
basepython = python3.13
commands = flake8

[testenv:black]
basepython = python3.12
basepython = python3.13
commands = black . --check --color --diff

[testenv:full_tests]
basepython = python3.12
basepython = python3.13
commands =
pytest --compile -n auto --all
pytest --run -n auto --all
Expand Down

0 comments on commit 29defe8

Please sign in to comment.