diff options
| author | Leonardo Rochael Almeida <leorochael@gmail.com> | 2016-07-20 16:43:34 -0300 |
|---|---|---|
| committer | Leonardo Rochael Almeida <leorochael@gmail.com> | 2016-07-20 18:45:01 -0300 |
| commit | b2b4cae8e3ef27b8545a8d98a35dc7b07b1b132f (patch) | |
| tree | 74530cf6d656d52804b83f6eb03756f15da41219 /docs/source | |
| parent | d69cb0564ada817b1cda5af49a552684466eb2dc (diff) | |
| download | flake8-b2b4cae8e3ef27b8545a8d98a35dc7b07b1b132f.tar.gz | |
Allow stdin and directly named files to be excluded from check
For the sake of IDEs, check filename for exclusion even if the file is directly
named in the command line.
Also, if the filename is "-" (stdin) check the provided display name for
exclusion.
Also, avoid calling path checking functions on the "-" filename:
* fnmatch.fnmatch()
* os.path.isdir()
* os.path.exists()
Diffstat (limited to 'docs/source')
0 files changed, 0 insertions, 0 deletions
