Skip to content

Commit 328c2dc

Browse files
Support for python 3.12, 3.13, django 5.1, pylint 3.0+, remove python 3.7, 3.8
1 parent 23722cd commit 328c2dc

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,13 @@ Django = { version = ">=2.2", optional = true }
5050
[tool.poetry.group.dev.dependencies]
5151
tox = ">=4.9"
5252
pytest = "^7.3.1"
53-
ruff = ">=0.1.1"
53+
ruff = ">=0.6.9"
5454
wheel = "^0.40"
5555
pytest-cov = "^4"
5656
django-tables2 = "^2.6"
5757
factory-boy = "^3.3"
5858
django-tastypie = "^0.14"
59+
pre-commit = ">=1"
5960

6061
[tool.poetry.extras]
6162
with_django = [ "Django" ]

tox.ini

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ envlist =
77
flake8
88
pylint
99
readme
10-
py{38,39}-django{22,30,31,32}
11-
py{38,39,310,311,312}-django{40,41,42}
12-
py{310,311,312}-django{50,-main}
10+
py{39}-django{22,30,31,32}
11+
py{39,310,311,312}-django{40,41,42}
12+
py{310,311,312,313}-django{50,51,-main}
1313

1414
requires =
1515
pip >=21.0.1
@@ -21,13 +21,13 @@ commands =
2121
django_not_installed: bash pylint_django/tests/test_django_not_installed.sh
2222
pylint: pylint pylint_django
2323
readme: bash -c "poetry build && twine check dist/*"
24-
py{37,38,39,310,311,312}-django{22,30,31,32,40,41,42,50}: bash scripts/test.sh --cov=pylint_django
24+
py{39,310,311,312,313}-django{22,30,31,32,40,41,42,50}: bash scripts/test.sh --cov=pylint_django
2525
clean: find . -type f -name '*.pyc' -delete
2626
clean: find . -type d -name __pycache__ -delete
2727
clean: rm -rf build/ .cache/ dist/ .eggs/ pylint_django.egg-info/ .tox/
2828
deps =
2929
ruff: ruff
30-
pylint: pylint<3
30+
pylint: pylint>3
3131
pylint: Django
3232
readme: twine
3333
readme: wheel
@@ -39,6 +39,7 @@ deps =
3939
django41: Django>=4.1,<4.2
4040
django42: Django>=4.2,<4.3
4141
django50: Django>=5.0,<5.1
42+
django51: Django>=5.1,<5.2
4243
django-main: Django
4344
django-main: git+https://github.com/pycqa/astroid@main
4445
django-main: git+https://github.com/pycqa/pylint@main
@@ -48,6 +49,6 @@ setenv =
4849
allowlist_externals =
4950
django_not_installed: bash
5051
readme: bash
51-
django{22,30,31,32,40,41,42,50,-main}: bash
52+
django{22,30,31,32,40,41,42,50,51,-main}: bash
5253
clean: find
5354
clean: rm

0 commit comments

Comments
 (0)