Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed Mar 19, 2023
1 parent 0d04dd4 commit 6a71c71
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions autopep8.py
Original file line number Diff line number Diff line change
Expand Up @@ -3658,15 +3658,17 @@ def apply_global_fixes(source, options, where='global', filename='',
codes = []
if any(code_match(code, select=options.select, ignore=options.ignore)
for code in ['E101', 'E111']):
source = reindent(source,
indent_size=options.indent_size,
leave_tabs=not (
code_match(
'W191',
select=options.select,
ignore=options.ignore)
)
)
source = reindent(
source,
indent_size=options.indent_size,
leave_tabs=not (
code_match(
'W191',
select=options.select,
ignore=options.ignore
)
)
)

for (code, function) in global_fixes():
if code_match(code, select=options.select, ignore=options.ignore):
Expand Down

0 comments on commit 6a71c71

Please sign in to comment.