Pylint

Latest version: v3.1.0

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

Scan your dependencies

Page 17 of 19

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 (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

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/PyCQA/pylint-django/issues/192>) and
[237](https://github.com/PyCQA/pylint-django/issues/237>) (Pierre Chiquet)

- Fix ``UnboundLocalError`` with ``ForeignKey(to=)``. Fix
[232](https://github.com/PyCQA/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/PyCQA/pylint-django/issues/230)

2.0.8

- Support recursive (self) ForeignKey relations. Fix
[208](https://github.com/PyCQA/pylint-django/issues/208) (Daniil Kharkov)

2.0.7

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

Page 17 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.