Initial fix for issue 399

pull/400/head
Thomas Stewart 3 years ago
parent 33ce0fa960
commit 7a3c6d6fa2

@ -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)

Loading…
Cancel
Save