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 1a45397 commit 890dfb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoflake.py
Original file line number Diff line number Diff line change
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 890dfb6

Please sign in to comment.