Skip to content

Commit 8dd84bc

Browse files
authored
Merge pull request sphinx-doc#9803 from tk0miya/fix-flake8-error
Fix flake8 error
2 parents c497a28 + 524c99a commit 8dd84bc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sphinx/util/logging.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,10 @@ def is_suppressed_warning(type: str, subtype: str, suppress_warnings: List[str])
369369
target, subtarget = warning_type, None
370370

371371
if target == type:
372-
if (subtype is None and subtarget is None
373-
or subtarget is None or
374-
subtarget == subtype or subtarget == '*'):
372+
if ((subtype is None and subtarget is None) or
373+
subtarget is None or
374+
subtarget == subtype or
375+
subtarget == '*'):
375376
return True
376377

377378
return False

0 commit comments

Comments
 (0)