Initial fix for issue 399
This commit is contained in:
@@ -201,6 +201,8 @@ def run(argv=None):
|
|||||||
|
|
||||||
for file in find_files_recursively(args.files, conf):
|
for file in find_files_recursively(args.files, conf):
|
||||||
filepath = file[2:] if file.startswith('./') else file
|
filepath = file[2:] if file.startswith('./') else file
|
||||||
|
if(conf.is_file_ignored(filepath) or None):
|
||||||
|
continue
|
||||||
try:
|
try:
|
||||||
with io.open(file, newline='') as f:
|
with io.open(file, newline='') as f:
|
||||||
problems = linter.run(f, conf, filepath)
|
problems = linter.run(f, conf, filepath)
|
||||||
|
|||||||
Reference in New Issue
Block a user