commit | 510b09755aab134072b746c2b50e9e332df73733 | [log] [tgz] |
---|---|---|
author | francisco souza <108725+fsouza@users.noreply.github.com> | Mon Jan 30 22:25:16 2023 -0500 |
committer | francisco souza <108725+fsouza@users.noreply.github.com> | Tue Jan 31 10:53:44 2023 -0500 |
tree | 7b14ab9204f250abaebdf9a315e67b69a519c003 | |
parent | 7c9f0ba9e7d16b1503e54dd1bf20e13cdbada966 [diff] |
nit: use a tuple instead of a list for constant data
diff --git a/autoflake.py b/autoflake.py index 2944079..46823c1 100755 --- a/autoflake.py +++ b/autoflake.py
@@ -57,7 +57,7 @@ def standard_paths(): """Yield paths to standard modules.""" paths = sysconfig.get_paths() - path_names = ["stdlib", "platstdlib"] + path_names = ("stdlib", "platstdlib") for path_name in path_names: # Yield lib paths. if path_name in paths: