diff --git a/src/flake8/utils.py b/src/flake8/utils.py index 06a1db1..bb6ba2e 100644 --- a/src/flake8/utils.py +++ b/src/flake8/utils.py @@ -168,6 +168,7 @@ def normalize_paths(paths, parent=os.curdir): :rtype: [str] """ + assert isinstance(paths, list), paths # nosec (for bandit) return [ normalize_path(p, parent) for p in parse_comma_separated_list(paths) ]