flake8-django icon indicating copy to clipboard operation
flake8-django copied to clipboard

A flake8 plugin to detect bad practices on Django projects.

Results 36 flake8-django issues
Sort by recently updated
recently updated
newest added

Installing flake8-django downgrades pylint - because flake8-django is restricted to astroid = "^2.15.2" pylint (>=3.0.2,=3.0.1,

Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.2 to 41.0.6. Changelog Sourced from cryptography's changelog. 41.0.6 - 2023-11-27 * Fixed a null-pointer-dereference and segfault that could occur when loading certificates from a PKCS#7 bundle....

dependencies

Bumps [django](https://github.com/django/django) from 3.2.18 to 3.2.23. Commits 60e648a [3.2.x] Bumped version for 3.2.23 release. f9a7fb8 [3.2.x] Fixed CVE-2023-46695 -- Fixed potential DoS in UsernameField on Windows. e6d2591 [3.2.x] Added stub...

dependencies

I stuck with the issue that if I run flake8 admin.py manually - I see error DJ07, but when I try to do that in pre-commit hook, check passes silently....

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.13 to 1.26.18. Release notes Sourced from urllib3's releases. 1.26.18 Made body stripped from HTTP requests changing the request method to GET after HTTP 303 "See Other"...

dependencies

... because of `verbose_name` and `verbose_name_plural` already there https://github.com/django/django/blob/ee36e101e8f8c0acde4bb148b738ab7034e902a0/django/contrib/auth/models.py#L381-L382

Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.31.0. Release notes Sourced from requests's releases. v2.31.0 2.31.0 (2023-05-22) Security Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential forwarding of Proxy-Authorization...

dependencies

Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.3 to 0.4.4. Changelog Sourced from sqlparse's changelog. Release 0.4.4 (Apr 18, 2023) Notable Changes IMPORTANT: This release fixes a security vulnerability in the parser where a...

dependencies

Hi there! Thank you for this great flake8 plugin. It rocks! I'm going to add some rules for help texts in Django Management Commands - Rule for if _help_text_ class...

This adds a new optional rule to check for `db_table` to be explicitly declared on a model's Meta. One reason you might want to do this is that it makes...