Pylint-django

Latest version: v2.6.1

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 9

2.0.12

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

- Fix too broad suppression of ``unused-argument`` warnings for functions and
methods where the first argument is named ``request``. Now issues warnings
for the rest of the arguments if they are unused. Fix
`249 <https://github.com/pylint-dev/pylint-django/issues/249>`_ (Pascal Urban)
- Pass arguments of ``scripts/test.sh`` to ``test_func/pytest`` to ease
development (Pascal Urban)
- Document behavior when ForeignKey fields are referenced as strings. Fix
`241 <https://github.com/pylint-dev/pylint-django/issues/241>`_

2.0.11

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

- Use ``functools.wrap`` to preserve ``leave_module`` info (Mohit Solanki)

2.0.10

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

- Suppress ``no-member`` for ``ManyToManyField``. Fix
`192 <https://github.com/pylint-dev/pylint-django/issues/192>`_ and
`237 <https://github.com/pylint-dev/pylint-django/issues/237>`_ (Pierre Chiquet)

- Fix ``UnboundLocalError`` with ``ForeignKey(to=)``. Fix
`232 <https://github.com/pylint-dev/pylint-django/issues/232>`_ (Sardorbek Imomaliev)

2.0.9

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

- Fix ``UnboundLocalError: local variable 'key_cls' referenced before assignment``
for cases when models is a python package, the ``to`` argument is a string
that is used in this pattern ``app.Model`` and also there is some other
``bool`` const like ``null=True`` right after ``to``. (Sardorbek Imomaliev)
- Don't crash if ForeignKey field doesn't have keyword arguments Fix
`230 <https://github.com/pylint-dev/pylint-django/issues/230>`_

2.0.8

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

- Support recursive (self) ForeignKey relations. Fix
`208 <https://github.com/pylint-dev/pylint-django/issues/208>`_ (Daniil Kharkov)

2.0.7

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

- Fixed ``AstroidImportError`` for ``DecimalField``. Fix
`221 <https://github.com/pylint-dev/pylint-django/issues/221>`_ (Daniil Kharkov)
- Add ``load_configuration()`` in ``pylint_django/__init__.py``. Fix 222
`222 <https://github.com/pylint-dev/pylint-django/issues/222>`_
- Support ForeignKey relations with ``to`` keyword. Fix
`223 <https://github.com/pylint-dev/pylint-django/issues/223>`_ (Daniil Kharkov)

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.