We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a4c2bc commit e060113Copy full SHA for e060113
build_docs.py
@@ -1042,7 +1042,7 @@ def parse_args() -> argparse.Namespace:
1042
def setup_logging(log_directory: Path, select_output: str | None) -> None:
1043
"""Setup logging to stderr if run by a human, or to a file if run from a cron."""
1044
log_format = "%(asctime)s %(levelname)s: %(message)s"
1045
- if sys.stderr.isatty() or 'CI' in os.environ:
+ if sys.stderr.isatty() or "CI" in os.environ:
1046
logging.basicConfig(format=log_format, stream=sys.stderr)
1047
else:
1048
log_directory.mkdir(parents=True, exist_ok=True)
0 commit comments