Skip to content
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/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.13"
cache: "pip"
cache-dependency-path: requirements.*.txt

Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
default_language_version:
python: python3.10
python: python3.13
repos:
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.24.0
Expand All @@ -14,13 +14,13 @@ repos:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
rev: v0.11.7
hooks:
- id: ruff

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
rev: v3.19.1
hooks:
- id: pyupgrade
args:
- --py310-plus
- --py313-plus
3 changes: 2 additions & 1 deletion mypy-ratchet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"cbv/importer/importers.py": {
"Call to untyped function \"get_code\" in typed context [no-untyped-call]": 1,
"Function is missing a type annotation [no-untyped-def]": 1,
"Function is missing a type annotation for one or more arguments [no-untyped-def]": 12
"Function is missing a type annotation for one or more arguments [no-untyped-def]": 12,
"Module has no attribute \"formatargspec\" [attr-defined]": 1
},
"cbv/management/commands/cbv_dumpversion.py": {
"Function is missing a type annotation [no-untyped-def]": 1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ python_files = [
extend-exclude = [
".env",
]
target-version = "py310"
target-version = "py313"

[tool.ruff.lint]
extend-select = [
Expand Down
12 changes: 1 addition & 11 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ coverage==7.8.0
# via -r requirements.dev.in
distlib==0.3.9
# via virtualenv
exceptiongroup==1.2.2
# via pytest
factory-boy==3.2.0
# via -r requirements.dev.in
faker==9.3.1
Expand Down Expand Up @@ -52,19 +50,11 @@ six==1.16.0
# python-dateutil
text-unidecode==1.3
# via faker
tomli==2.2.1
# via
# -c requirements.prod.txt
# coverage
# mypy
# pytest
types-requests==2.27.7
# via -r requirements.dev.in
types-urllib3==1.26.7
# via types-requests
typing-extensions==4.13.2
# via
# -c requirements.prod.txt
# mypy
# via mypy
virtualenv==20.30.0
# via pre-commit
6 changes: 0 additions & 6 deletions requirements.prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ sphinxcontrib-serializinghtml==2.0.0
# via sphinx
sqlparse==0.5.3
# via django
tomli==2.2.1
# via sphinx
typing-extensions==4.13.2
# via
# asgiref
# environs
urllib3==2.4.0
# via requests
werkzeug==3.1.3
Expand Down