Skip to content

Commit 959d438

Browse files
committed
fix ruff
1 parent 0aeabb8 commit 959d438

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docs_dev/utils/mirror_docs.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
Virtual output structure:
55
readme.md ← from docs_dev/readme_toplevel.md
66
user/ ← from docs/
7-
dev/ ← from docs_dev/ (excluding utils/, requirements.txt, readme_toplevel.md)
7+
dev/ ← from docs_dev/ (excluding utils/,
8+
requirements.txt, readme_toplevel.md)
89
"""
910

1011
from __future__ import annotations
@@ -66,21 +67,21 @@ def _run_from_mkdocs_gen_files() -> None:
6667
with mkdocs_gen_files.open("README.md", "wb") as fd:
6768
fd.write(readme_source.read_bytes())
6869
else:
69-
print(f"Warning: '{readme_source}' does not exist, skipping.")
70+
print(f"Warning: '{readme_source}' does not exist, skipping.") # noqa: T201
7071

7172
# 2. docs/ → virtual user/
7273
docs_dir = repo_root / "docs"
7374
if docs_dir.exists():
7475
_mirror_into_virtual_fs(docs_dir, "user")
7576
else:
76-
print(f"Warning: '{docs_dir}' does not exist, skipping.")
77+
print(f"Warning: '{docs_dir}' does not exist, skipping.") # noqa: T201
7778

7879
# 3. docs_dev/ → virtual dev/ (with exclusions)
7980
docs_dev_dir = repo_root / "docs_dev"
8081
if docs_dev_dir.exists():
8182
_mirror_into_virtual_fs(docs_dev_dir, "dev", exclude=DOCS_DEV_EXCLUDE)
8283
else:
83-
print(f"Warning: '{docs_dev_dir}' does not exist, skipping.")
84+
print(f"Warning: '{docs_dev_dir}' does not exist, skipping.") # noqa: T201
8485

8586

8687
if __name__ != "__main__":

0 commit comments

Comments
 (0)