Skip to content

Commit e060113

Browse files
committed
Format
1 parent 6a4c2bc commit e060113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ def parse_args() -> argparse.Namespace:
10421042
def setup_logging(log_directory: Path, select_output: str | None) -> None:
10431043
"""Setup logging to stderr if run by a human, or to a file if run from a cron."""
10441044
log_format = "%(asctime)s %(levelname)s: %(message)s"
1045-
if sys.stderr.isatty() or 'CI' in os.environ:
1045+
if sys.stderr.isatty() or "CI" in os.environ:
10461046
logging.basicConfig(format=log_format, stream=sys.stderr)
10471047
else:
10481048
log_directory.mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)