Skip to content

Commit

Permalink
nit: use a tuple instead of a list for constant data
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Jan 31, 2023
1 parent 7c9f0ba commit 510b097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoflake.py
Expand Up @@ -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:
Expand Down

0 comments on commit 510b097

Please sign in to comment.