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

PyCQA/pylint#4594 taught Pylint to consider functions decorated with `functools.cached_property` like properties so that `invalid-overridden-method` isn't reported for them if they override abstract properties. Would it be possible for `pylint-django` to...

I'm getting lots of warnings on my migrations, e.g.: ``` Module name "0056_alter_userprofile_email" doesn't conform to '(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$' pattern (invalid-name) ``` if [this code here](https://github.com/PyCQA/pylint-django/blob/65ceb3a54ec97bc75215276297ef8999df57c846/pylint_django/plugin.py#L22) is supposed to prevent any errors...

Given what we have in our Known issues section (in README) I propose that by default pylint-django starts reporting on FK and any other related field types which reference the...

1) I can't get pylint-django to work as expected in the UI, I have activated the pylinter as the linter, but with the current settings nothing gets marked in my...

# Description I'm attempting to use `pylint` with `pylint_django` in my `pre-commit` configuration and running into an error regarding: ``` AttributeError: module 'pylint.__pkginfo__' has no attribute 'numversion' ``` This is...

### My code: ```python from django.dispatch import receiver from django.db.models.signals import post_save @receiver(post_save, sender=settings.AUTH_USER_MODEL) def post_save_func(sender, instance, **kwargs): ... pass ``` I don't use `**kwargs` in my function, but `**kwargs`...

**WARNING:** Please do not report issues about missing Django, see [README](https://github.com/PyCQA/pylint-django#installation)! **TODO:** make sure to post the output of `pip freeze` ``` >>> pip freezeargcomplete==1.8.2 astroid==2.0.1 autopep8==1.3.5 bbcode==1.0.31 beautifulsoup4==4.6.0 bs4==0.0.1...

Pylint-django appears to report `django.core.mail.outbox` as not being a valid member. This attribute only gets added by django to `django.core.mail` when using django's test runner during setup seen [here](https://github.com/django/django/blob/d828beb68f6b925217242e8f4faac2216f7c9c57/django/test/utils.py#L139). Not...

When running the following command: ``` shell pylint --load-plugins=pylint_django --django-settings-module=app.settings file.py` ```` I get the following exception: ``` shell django.core.exceptions.ImproperlyConfigured: Requested setting LOGGING_CONFIG, but settings are not configured. You must...

It appears that pylint-django is incorrectly reporting a `no-member` error when trying to reference a reverse related manager from a model that inherits from an abstract model with a foreign...