-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.python-scope
More file actions
25 lines (25 loc) · 1.16 KB
/
Copy path.python-scope
File metadata and controls
25 lines (25 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Single source of truth for the first-party Python trees in this repo.
#
# ENFORCED BY: tests/unit/test_python_check_scope.py, which compiles every .py
# file in every tree listed below. That test runs inside the existing blocking
# CI step (`pytest tests/unit/` in .github/workflows/ci.yml), so the scope is a
# real gate without any workflow needing to restate the tree list.
#
# ALSO CONSUMED BY:
# - .github/workflows/lint.yaml ("Validate Python syntax", blocking)
# - .github/workflows/ci.yml ("Lint check with ruff", advisory)
# - `just check-python` (local syntax + advisory ruff run over exactly these
# trees, so local matches CI).
#
# Adding a new tree of first-party Python means adding one line here -- nowhere
# else. test_every_tree_with_first_party_python_is_in_scope fails if a tree with
# .py files is not declared.
#
# NOTE: this is the *check* scope, not the *coverage* scope. .coveragerc
# deliberately measures a narrower set (the shared helper modules the unit gate
# actually exercises); see the comment at the top of .coveragerc.
#
# Format: one path per line, relative to the repo root. Blank lines and lines
# beginning with '#' are ignored.
scripts
tests