pylint-django
pylint-django copied to clipboard
Pylint plugin for improving code analysis for when using Django
Pylint incorrectly raises a `no-member` warning when accessing `DecimalField` attributes in Django models. Specifically, calling methods like .compare() or .adjusted() on self.decimalfield triggers this false positive, even though self.decimalfield is...
### Bug description When parsing the following: ```python import requests import requests_cache class SessionManager: @staticmethod def get_session(cache=False): if cache: session = requests_cache.CachedSession( allowable_methods=("GET", "HEAD", "POST"), ) else: session = requests.Session()...