diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 99f00e2..9e10eb3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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 @@ -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 diff --git a/pyproject.toml b/pyproject.toml index a122a7e..7fb2fe1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -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 diff --git a/tox.ini b/tox.ini index 28d2447..fcc929e 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -13,6 +13,7 @@ python = 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313 [testenv] setenv = PYTHONPATH = {toxinidir} @@ -20,23 +21,23 @@ 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