Skip to content

Commit b4eba53

Browse files
Nate Damontk0miya
authored andcommitted
Fixed 4 flake8 violations due to stinky IDE I was using
1 parent c6bd00d commit b4eba53

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sphinx/builders/html.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,9 +1163,9 @@ def validate_html_extra_path(app: Sphinx, config: Config) -> None:
11631163
logger.warning(__('html_extra_path entry %r does not exist'), entry)
11641164
config.html_extra_path.remove(entry)
11651165
else:
1166-
try:
1167-
common_path = path.commonpath([app.outdir, extra_path])
1168-
except ValueError: # different directories, can skip to next
1166+
try:
1167+
common_path = path.commonpath([app.outdir, extra_path])
1168+
except ValueError: # different directories, can skip to next
11691169
continue
11701170
if common_path == app.outdir:
11711171
logger.warning(__('html_extra_path entry %r is placed inside outdir'), entry)
@@ -1182,7 +1182,7 @@ def validate_html_static_path(app: Sphinx, config: Config) -> None:
11821182
else:
11831183
try:
11841184
common_path = path.commonpath([app.outdir, static_path])
1185-
except ValueError: # different directories, can skip to next
1185+
except ValueError: # different directories, can skip to next
11861186
continue
11871187
if common_path == app.outdir:
11881188
logger.warning(__('html_static_path entry %r is placed inside outdir'), entry)

0 commit comments

Comments
 (0)