Initial fix for issue 399

This commit is contained in:
Thomas Stewart
2021-08-05 16:17:47 +01:00
parent 33ce0fa960
commit 7a3c6d6fa2

View File

@@ -201,6 +201,8 @@ def run(argv=None):
for file in find_files_recursively(args.files, conf):
filepath = file[2:] if file.startswith('./') else file
if(conf.is_file_ignored(filepath) or None):
continue
try:
with io.open(file, newline='') as f:
problems = linter.run(f, conf, filepath)