Skip to content

Commit

Permalink
Support for python 3.12, 3.13, django 5.1, pylint 3.0+, remove python…
Browse files Browse the repository at this point in the history
… 3.7, 3.8
  • Loading branch information
Pierre-Sassoulas committed Oct 8, 2024
1 parent 23722cd commit 328c2dc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,13 @@ Django = { version = ">=2.2", optional = true }
[tool.poetry.group.dev.dependencies]
tox = ">=4.9"
pytest = "^7.3.1"
ruff = ">=0.1.1"
ruff = ">=0.6.9"
wheel = "^0.40"
pytest-cov = "^4"
django-tables2 = "^2.6"
factory-boy = "^3.3"
django-tastypie = "^0.14"
pre-commit = ">=1"

[tool.poetry.extras]
with_django = [ "Django" ]
Expand Down
13 changes: 7 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ envlist =
flake8
pylint
readme
py{38,39}-django{22,30,31,32}
py{38,39,310,311,312}-django{40,41,42}
py{310,311,312}-django{50,-main}
py{39}-django{22,30,31,32}
py{39,310,311,312}-django{40,41,42}
py{310,311,312,313}-django{50,51,-main}

requires =
pip >=21.0.1
Expand All @@ -21,13 +21,13 @@ commands =
django_not_installed: bash pylint_django/tests/test_django_not_installed.sh
pylint: pylint pylint_django
readme: bash -c "poetry build && twine check dist/*"
py{37,38,39,310,311,312}-django{22,30,31,32,40,41,42,50}: bash scripts/test.sh --cov=pylint_django
py{39,310,311,312,313}-django{22,30,31,32,40,41,42,50}: bash scripts/test.sh --cov=pylint_django
clean: find . -type f -name '*.pyc' -delete
clean: find . -type d -name __pycache__ -delete
clean: rm -rf build/ .cache/ dist/ .eggs/ pylint_django.egg-info/ .tox/
deps =
ruff: ruff
pylint: pylint<3
pylint: pylint>3
pylint: Django
readme: twine
readme: wheel
Expand All @@ -39,6 +39,7 @@ deps =
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
django-main: Django
django-main: git+https://github.com/pycqa/astroid@main
django-main: git+https://github.com/pycqa/pylint@main
Expand All @@ -48,6 +49,6 @@ setenv =
allowlist_externals =
django_not_installed: bash
readme: bash
django{22,30,31,32,40,41,42,50,-main}: bash
django{22,30,31,32,40,41,42,50,51,-main}: bash
clean: find
clean: rm

0 comments on commit 328c2dc

Please sign in to comment.