(path: Path)
| 545 | ) |
| 546 | |
| 547 | def is_excluded_by_default(path: Path) -> bool: |
| 548 | if path.is_dir(): |
| 549 | if path.name.startswith("."): |
| 550 | # exclude hidden directories |
| 551 | return True |
| 552 | if path.name.startswith("__"): |
| 553 | # ignore things like __pycache__ |
| 554 | return True |
| 555 | return path.name in ( |
| 556 | ".gitignore", |
| 557 | "uploaded_files", |
| 558 | constants.Bun.ROOT_LOCKFILE_DIR, |
| 559 | ) |
| 560 | |
| 561 | reload_paths = ( |
| 562 | tuple( |
no test coverage detected