We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
I can confirm the issue in the now closed #41: pylint with pylint-django enabled marks the Django constant name urlpatterns as invalid.
urlpatterns
My mymodule/urls.py is
mymodule/urls.py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index, name='index'), ]
and the error
$ PYTHONPATH=. pylint --load-plugins pylint_django mymodule/urls.py ************* Module patches.urls C: 4, 0: Invalid constant name "urlpatterns" (invalid-name)
All other files are linted fine, so I guess my setup is okay.
// Python 3.5.2 Django==1.10.5 ... pylint==1.6.5 pylint-django==0.7.2 pylint-plugin-utils==0.2.4
The text was updated successfully, but these errors were encountered:
I have the same problem (Though with Django 1.11.x and pylint 1.7.2)
Sorry, something went wrong.
Fixed in #109, #113
No branches or pull requests
I can confirm the issue in the now closed #41: pylint with pylint-django enabled marks the Django constant name
urlpatterns
as invalid.My
mymodule/urls.py
isand the error
All other files are linted fine, so I guess my setup is okay.
The text was updated successfully, but these errors were encountered: