Skip to content
Commit b2b4cae8 authored by Leonardo Rochael Almeida's avatar Leonardo Rochael Almeida
Browse files

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()
parent d69cb056
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment