Skip to content

Commit 1af4c5b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 00f7a01 commit 1af4c5b

15 files changed

+4
-16
lines changed

modernize/fixes/fix_file.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
class FixFile(fixer_base.BaseFix):
8-
98
BM_compatible = True
109
order = "pre"
1110

modernize/fixes/fix_filter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111

1212
class FixFilter(fix_filter.FixFilter):
13-
1413
skip_on = "six.moves.filter"
1514

1615
def transform(self, node, results):

modernize/fixes/fix_import.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88

99
class FixImport(fix_import.FixImport):
10-
1110
# Make sure this runs before any other fixer to guarantee that any other
1211
# added absolute_import doesn't block this fixer's execution.
1312
run_order = 1

modernize/fixes/fix_imports_six.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class FixImportsSix(fix_imports.FixImports):
7-
87
mapping = {
98
"__builtin__": "six.moves.builtins",
109
"_winreg": "six.moves.winreg",

modernize/fixes/fix_input_six.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616

1717
class FixInputSix(fixer_base.ConditionalFix):
18-
1918
BM_compatible = True
2019
order = "pre"
2120
skip_on = "six.moves.input"

modernize/fixes/fix_int_long_tuple.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class FixIntLongTuple(fixer_base.BaseFix):
7-
87
run_order = 4 # Must run before fix_long.
98

109
PATTERN = """

modernize/fixes/fix_map.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111

1212
class FixMap(fix_map.FixMap):
13-
1413
skip_on = "six.moves.map"
1514

1615
def transform(self, node, results):

modernize/fixes/fix_open.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class FixOpen(fixer_base.BaseFix):
7-
87
BM_compatible = True
98
# Fixers don't directly stack, so make sure the 'file' case is covered.
109
PATTERN = """

modernize/fixes/fix_raise_six.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313

1414
class FixRaiseSix(fixer_base.BaseFix):
15-
1615
BM_compatible = True
1716
PATTERN = """
1817
raise_stmt< 'raise' exc=any ',' val=any ',' tb=any >

modernize/fixes/fix_xrange_six.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99

1010
class FixXrangeSix(fixer_base.ConditionalFix, fix_xrange.FixXrange):
11-
1211
skip_on = "six.moves.range"
1312

1413
def transform(self, node, results):

0 commit comments

Comments
 (0)