-
Notifications
You must be signed in to change notification settings - Fork 117
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
Custom good names #181
Comments
@horejsek can you provide a code snippet that should work fine with your own good-names but doesn't? I think the root cause of your problem may be related to how pylint deals with these settings, see: #167 (comment) |
Code snippet could be simple It uses Let's see if it's bug or feature as you linked to other issue. From my point of view it looks like bug, though. :-) |
+1, I recently encountered this myself. I used pylint to autogenerate a |
ditto. both |
I have the same issue that when after setting
The problem is that pylint-django is extending default values: if config_parser.has_option("MASTER", "load-plugins"):
plugins = utils._splitstrip(config_parser.get("MASTER", "load-plugins"))
linter.load_plugin_modules(plugins)
# now we can load file config and command line, plugins (which can
# provide options) have been registered
linter.load_config_file() Hence, I suggest that pylint plugins should have hooks which are called after configuration is loaded to inject plugin configurations. But this decition should be done in mainly in pylint. |
After change in pull request #109 seems to be broken to ability to set own good names. Example pylintrc:
In version v0.7.2 it was working properly but starting version 0.8.0 it can be one or other. Probably previous version was merging two lists of good names which is not the case now.
The text was updated successfully, but these errors were encountered: