This repository has been archived by the owner on Dec 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed compatibility with latest pep257.
pep257 significantly changed configuration handling from 0.6.0 to 0.7.0. Looks like they support multiple config files that apply only to that directory and its subdirectories. But the change impacting flake8-pep257 was that pep257 no longer exposes 'ignore' config settings. Instead it reads the 'ignore' value in a private method and then subtracts it from all valid error codes and exposes that. Flake8 doesn't behave this way. This fix implements my own config file reader using a couple of public APIs, reading only the top-most (current working directory) config file (same behavior as pep257 0.6.0). Fixes #4
- Loading branch information
Showing
3 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters