Skip to content

Commit 524c99a

Browse files
committed
Fix a flake8 warning
1 parent c497a28 commit 524c99a

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)