Skip to content

Commit

Permalink
Fix a bug causing both W503 and W504 to be ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
novadev94 committed Feb 17, 2020
1 parent 107e29d commit 8701bbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autopep8.py
Original file line number Diff line number Diff line change
Expand Up @@ -3742,8 +3742,8 @@ def parse_args(arguments, apply_config=False):

if args.ignore:
args.ignore = _split_comma_separated(args.ignore)
if not all(
any(
if all(
not any(
conflicting_code.startswith(ignore_code)
for ignore_code in args.ignore
)
Expand Down

0 comments on commit 8701bbc

Please sign in to comment.