Skip to content

Commit

Permalink
rewrite pipes.quote -> shlex.quote
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Jul 10, 2022
1 parent 35e82d7 commit ada7e01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyupgrade/_plugins/imports.py
Original file line number Diff line number Diff line change
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 ada7e01

Please sign in to comment.