-
Notifications
You must be signed in to change notification settings - Fork 756
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
config not being loaded from ~/.config/pep8 #245
Comments
I am facing another problem could be related. I have .ropeproject folder under project root folder which is specific to a software that I use. I was looking for options to make pep8 to exclude it. Adding it to ~/.config/pep8 is not helping as this is overwritten by tox.ini settings. As you can see pep8 doesn't care about global settings if local settings exists. https://github.com/jcrocholl/pep8/blob/master/pep8.py#L1760 |
That's not quite true: Note that you still need to add the |
@kynan Is your response to my problem? |
I would need more information about the case which does not work. The user configuration is merged with the project configuration at runtime, but if an option is present in both files, the project configuration takes precedence. |
Closing as there has been no update to this issue in almost 2 years. |
I followed the official documentation for configuration, placing my settings in
~/.config/pep8
, in INI format.When I put a
tox.ini
at my project root directory, pep8 successfully loads my custom configuration. But when I move the same settings to~/.config/pep8
, pep8 ignores them.The text was updated successfully, but these errors were encountered: