diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2b3e76..598e87b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,7 @@ jobs: fail-fast: false matrix: python-version: ["3.10", "3.11", "3.12"] - django-version: ["5.0", "5.1", "-main"] + django-version: ["5.0", "5.1", "5.2", "-main"] steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 09b7e8a..e57aecb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,16 @@ Changelog ========= + +Version 2.7.0 +------------- + +Other +~~~~~ + +- Add CI tests against Django 5.2 + + Version 2.6.1 ------------- diff --git a/pylint_django/compat.py b/pylint_django/compat.py index 9eeb128..ba77e4f 100644 --- a/pylint_django/compat.py +++ b/pylint_django/compat.py @@ -1,4 +1,4 @@ -# flake8: noqa +# flake8: noqa: F401 # pylint: skip-file # no sane linter can figure out the hackiness in this compatibility layer... import sys diff --git a/pyproject.toml b/pyproject.toml index a98e802..3dfac62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,7 @@ classifiers = [ "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", "Framework :: Django :: 5.1", + "Framework :: Django :: 5.2", "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", ] keywords = [ "pylint", "django", "plugin" ] @@ -86,6 +87,7 @@ lint.select = [ "W", # pycodestyle ] lint.ignore = [ + "PLC0415", # Import should be at top level "PLR0912", # Too many branches, worse than C901 "PLR0915", # Too many statements, worse than C901 "PLR2004", # Magic value used in comparison, opinionated diff --git a/tox.ini b/tox.ini index c27b6b7..d14185c 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,7 @@ envlist = readme py{39}-django{22,30,31,32} py{39,310,311,312}-django{40,41,42} - py{310,311,312}-django{50,51,-main} + py{310,311,312}-django{50,51,52,-main} requires = pip >=21.0.1 @@ -21,7 +21,7 @@ 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{38,39,310,311,312}-django{22,30,31,32,40,41,42,50}: bash scripts/test.sh --cov=pylint_django + py{38,39,310,311,312}-django{22,30,31,32,40,41,42,50,52}: 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/ @@ -40,6 +40,7 @@ deps = django42: Django>=4.2,<4.3 django50: Django>=5.0,<5.1 django51: Django>=5.1,<5.2 + django52: Django>=5.2,<5.3 django-main: Django django-main: git+https://github.com/pylint-dev/astroid@main django-main: git+https://github.com/pylint-dev/pylint@main @@ -49,6 +50,6 @@ setenv = allowlist_externals = django_not_installed: bash readme: bash - django{22,30,31,32,40,41,42,50,51,-main}: bash + django{22,30,31,32,40,41,42,50,51,52,-main}: bash clean: find clean: rm pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy