|
4 | 4 | Virtual output structure: |
5 | 5 | readme.md ← from docs_dev/readme_toplevel.md |
6 | 6 | 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) |
8 | 9 | """ |
9 | 10 |
|
10 | 11 | from __future__ import annotations |
@@ -66,21 +67,21 @@ def _run_from_mkdocs_gen_files() -> None: |
66 | 67 | with mkdocs_gen_files.open("README.md", "wb") as fd: |
67 | 68 | fd.write(readme_source.read_bytes()) |
68 | 69 | else: |
69 | | - print(f"Warning: '{readme_source}' does not exist, skipping.") |
| 70 | + print(f"Warning: '{readme_source}' does not exist, skipping.") # noqa: T201 |
70 | 71 |
|
71 | 72 | # 2. docs/ → virtual user/ |
72 | 73 | docs_dir = repo_root / "docs" |
73 | 74 | if docs_dir.exists(): |
74 | 75 | _mirror_into_virtual_fs(docs_dir, "user") |
75 | 76 | else: |
76 | | - print(f"Warning: '{docs_dir}' does not exist, skipping.") |
| 77 | + print(f"Warning: '{docs_dir}' does not exist, skipping.") # noqa: T201 |
77 | 78 |
|
78 | 79 | # 3. docs_dev/ → virtual dev/ (with exclusions) |
79 | 80 | docs_dev_dir = repo_root / "docs_dev" |
80 | 81 | if docs_dev_dir.exists(): |
81 | 82 | _mirror_into_virtual_fs(docs_dev_dir, "dev", exclude=DOCS_DEV_EXCLUDE) |
82 | 83 | 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 |
84 | 85 |
|
85 | 86 |
|
86 | 87 | if __name__ != "__main__": |
|
0 commit comments