Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pylint-django compatibility #276

Open
madmatah opened this issue Jan 20, 2021 · 4 comments
Open

pylint-django compatibility #276

madmatah opened this issue Jan 20, 2021 · 4 comments

Comments

@madmatah
Copy link

Hi,

Just so you know, it seems that we cannot use django-configurations with the latest version of pylint-django (2.4.2), since it only accept a classic settings file to be configured.

See the issue here : pylint-dev/pylint-django#307

Do you know any possible workaround ?

@graingert
Copy link
Member

Issue is here pylint-dev/pylint-django#306

@abbasidaniyal
Copy link

Any progress on this? Or any workarounds?

@blueyed
Copy link
Contributor

blueyed commented Jan 25, 2022

pylint-dev/pylint-django#306 (comment) has a workaround.

@simensol
Copy link

Does the settings affect the linting in any way? If not, one can use a minimal settings.py file:

SECRET_KEY = "pylint-secret-key"

DEBUG = True

ALLOWED_HOSTS = []

INSTALLED_APPS = []

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants