diff --git a/run_pylint.py b/run_pylint.py index 6e08fdc20b75..107b25d649a0 100644 --- a/run_pylint.py +++ b/run_pylint.py @@ -103,8 +103,8 @@ def is_production_filename(filename): :rtype: boolean :returns: Boolean indicating production status. """ - return not ('demo' in filename or 'test' in filename - or filename.startswith('regression')) + return not ('demo' in filename or 'test' in filename or + filename.startswith('regression')) def get_files_for_linting(allow_limited=True):