-
Notifications
You must be signed in to change notification settings - Fork 48
Lint also Django Python files #17
Comments
Don't know what advantages an integration with atom-django (or similar packages) would have. But installing the pylint-django plugin for pylint improves the Django support of atom and linter-pylint significantly. |
@exploide, I'm having a bit of trouble getting pylint-django to work with linter-pylint. Under the executables setting, I added "pylint --load-plugins pylint_django" but it crashes pylint. I can run the command from cli with no issue. Any tips? |
This avoids the command line switch mentioned in your comment. Maybe this causes the problem.
|
@yoongkang did explode's fix work for you? Closing as this is an old issue and the |
Well, the use of pylint-django is okayish. In general it works but I always got import errors like |
Have you tried with the latest version of linter-pylint? We fixed some import issues, so this may work for you now. |
I'm having the same issue as @yoongkang. Here's my
And Pylint/Python version:
Using And also if I run the command from cli it works (having the plugin loaded on |
@dccarmo Do you mean you added options to the executable path setting? If that's the case, a crash is normal, because this is no longer the correct executable path. But it should not be needed, since you already configure By the way, commenting on a years-old, closed bug, saying that you have the "same problem" is bad form. You are not describing your problem fully and it confuses the conversation. |
@ddaanet Sorry if I wasn't clear enough. I'm adding Now if I try running |
If |
Or even better, in a new issue, because, you know, this one is closed... |
It would be great to have pylint working in Python Django files too. (Syntax from packages such as atom-django by @zacharytamas.)
The text was updated successfully, but these errors were encountered: