Skip to content

Commit

Permalink
Merge pull request #674 from asottile/regen-reorder-python-imports
Browse files Browse the repository at this point in the history
rewrite pipes.quote -> shlex.quote
  • Loading branch information
asottile committed Jul 10, 2022
2 parents 35e82d7 + ada7e01 commit 2635b18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyupgrade/_plugins/imports.py
Expand Up @@ -20,7 +20,7 @@
from pyupgrade._token_helpers import find_token

# GENERATED VIA generate-imports
# Using reorder-python-imports==3.6.0
# Using reorder-python-imports==3.8.0
REMOVALS = {
(2, 7): {'__future__': {'generators', 'nested_scopes', 'with_statement'}},
(3,): {
Expand Down Expand Up @@ -67,6 +67,7 @@
('collections', 'Set'): 'collections.abc',
('collections', 'Sized'): 'collections.abc',
('collections', 'ValuesView'): 'collections.abc',
('pipes', 'quote'): 'shlex',
('six', 'BytesIO'): 'io',
('six', 'StringIO'): 'io',
('six', 'wraps'): 'functools',
Expand Down

0 comments on commit 2635b18

Please sign in to comment.