Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for Python 3.13 #44

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 6 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -22,23 +22,25 @@ repos:
]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.9
rev: v0.8.4
hooks:
- id: ruff
- id: ruff-format

- repo: https://github.com/PyCQA/pylint
rev: v3.2.3
rev: v3.3.2
hooks:
- id: pylint
pass_filenames: false
additional_dependencies: [astral]
args: [
'src',
'tests',
'docs',
]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.13.0
hooks:
- id: mypy
additional_dependencies: [astral]
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers = [
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Topic :: Utilities',
'Typing :: Typed',
]
Expand Down Expand Up @@ -56,7 +57,7 @@ dev = [
legacy_tox_ini = """
[tox]
envlist =
py{310,311,312}
py{310,311,312,313}
ruff-format
ruff-lint
pylint
Expand All @@ -74,7 +75,7 @@ legacy_tox_ini = """
py310: coverage[toml]
commands =
coverage run -m unittest discover
py312: coverage report -m
py313: coverage report -m

[testenv:pylint]
deps = pylint
Expand Down Expand Up @@ -116,7 +117,8 @@ legacy_tox_ini = """
python =
3.10: py310
3.11: py311
3.12: py312, isort, ruff-format, ruff-lint, pylint, mypy, darglint, jewcal
3.12: py312
3.13: py313, isort, ruff-format, ruff-lint, pylint, mypy, darglint, jewcal
"""

[tool.coverage.run]
Expand Down
Loading