Skip to content

Update pylint to 4.0.7 - #121

Open
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-pylint-2.4.4-to-4.0.7
Open

Update pylint to 4.0.7#121
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-pylint-2.4.4-to-4.0.7

Conversation

@pyup-bot

@pyup-bot pyup-bot commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

This PR updates pylint from 2.4.4 to 4.0.7.

Changelog

2.8.0

-------------

New checks
~~~~~~~~~~

- Added ``format-html-interpolation`` (W5150) and ``mark-safe-interpolation`` (W5151) checks
which warn when the format string of ``format_html()`` / ``format_html_join()`` or the
argument of ``mark_safe()`` is built with an f-string, ``str.format()``, ``%``-formatting or
``+`` concatenation. Such values bypass Django's HTML escaping; pass them as arguments instead.

Other
~~~~~

- CI now tests against Django 6.0

2.7.0

-------------

We added support for pylint 4.0.0+.

Other
~~~~~

- CI now tests against Django 5.2
- CI now tests against python 3.13
- CI now tests against python 3.14
- CI now tests against pylint 4.0.0+

2.6.1

-------------

NOTICE
~~~~~~

We dropped support for Python 3.7, 3.8, and for pylint below 3.0.

Bugfixes
~~~~~~~~

- Added Django aliases for ranges to support psycopg 2 and 3 (`421 <https://github.com/pylint-dev/pylint-django/pull/421>`_)
- Support for Python 3.12 datetime (`427 <https://github.com/pylint-dev/pylint-django/pull/427>`_)
- Fixed location of installed LICENSE file (`431 <https://github.com/pylint-dev/pylint-django/issues/431>`_)
- Fixed ForeignKeyStringChecker referencing linter config incorrectly (`430 <https://github.com/pylint-dev/pylint-django/issues/430>`_)

Other
~~~~~

- CI now tests against Django 5.1

2.6.0

----------------------------

Not released for lack of a release pipeline at the time the tag was created.

2.5.5

---------------------------

NOTICE
~~~~~~

This version drops support for Python 3.6

Bugfixes
~~~~~~~~

- Fixed compatibility issue with datetime classes and python `3.12` (`425 <https://github.com/pylint-dev/pylint-django/issues/425>`_)

2.5.3

---------------------------

Bugfixes
~~~~~~~~

- Fixed compatibility issue between pylint `2.12` and `2.13` to construct `ScopeConsumer` tuples correctly depending on version (`358 <https://github.com/pylint-dev/pylint-django/issues/358>`_)

Other
~~~~~

- pylint version is now pinned to `<3` to give breathing space to update pylint-django before the major update lands

2.5.2

---------------------------

Bugfixes
~~~~~~~~

- Fixed crash with assigning a class to a variable, and referencing the variable when subclassing (`349 <https://github.com/pylint-dev/pylint-django/issues/349>`_)

Other
~~~~~

- CI now tests against Django 4.0

2.5.1

---------------------------

Bugfixes
~~~~~~~~

- Fixed pickling for `augment_visit` (`276 <https://github.com/pylint-dev/pylint-django/issues/276>`_)

2.5.0

---------------------------

Bugfixes
~~~~~~~~

- Fixed compatibility with astroid 2.9.1 (`343 <https://github.com/pylint-dev/pylint-django/issues/343>`_)

New
~~~

- Removed false positive error of missing member in TextChoices tuples `298 <https://github.com/pylint-dev/pylint-django/issues/298>`_ (see pulls `#330 <https://github.com/pylint-dev/pylint-django/pull/330>`_ and `#345 <https://github.com/pylint-dev/pylint-django/pull/345>`_)
- Moved from Travis CI to GitHub Actions (`366 <https://github.com/pylint-dev/pylint-django/pull/366>`_ and `#340 <https://github.com/pylint-dev/pylint-django/pull/340>`_)
- Added pre-commit configuration and began enforcing black/isort code formatting
- Multiple test fixes (including `338 <https://github.com/pylint-dev/pylint-django/issues/338>`_) - newer versions of pylint expect a different format for the expected messages txt files.
- Bumped dependency for pylint-django-utils to get `multi-threaded pylint support <https://github.com/pylint-dev/pylint-plugin-utils/pull/21>`_
Links

@pyup-bot pyup-bot mentioned this pull request Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant