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

Pylint plugin for improving code analysis for when using Django

Results 92 pylint-django issues
Sort by recently updated
recently updated
newest added

updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.7.0) - [github.com/tox-dev/pyproject-fmt: 2.3.1 → 2.4.3](https://github.com/tox-dev/pyproject-fmt/compare/2.3.1...2.4.3)

According to django's docs, settings should be imported using `from django.conf import settings` and _not_ your own settings file; see https://docs.djangoproject.com/en/5.1/topics/settings/#using-settings-in-python-code I recently ran into a bug in our dev...

Hello! I'm trying to integrate pylint-django into my pipelines for a project of mine, but unfortunately I got stopped by an issue related to my project folder directory and how...

I've gotten this error on several files using vscode. ### Bug description When parsing the following ``a.py``: ```python """My Trials listing""" import logging from django.conf import settings from django.contrib.auth.decorators import...

bug

## Description When running pylint with the pylint-django plugin enabled, pylint crashes with a fatal error. This appears to be related to compatibility issues between the current version of pylint...

The tests with packages psycopg2 and psycopg3 incorrectly accessed `.lower` and `.upper` attributes directly on model fields, which are not valid until a value is assigned. Updated the tests to...

Although Django seems to support it, pylint_django does not find models which are specified lowercase and this is due to the following code block: https://github.com/pylint-dev/pylint-django/blob/master/pylint_django/transforms/foreignkey.py#121 ```py for module in list(MANAGER.astroid_cache.values()):...