File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 from collections .abc import Set
2020
2121GITHUB_DEFAULT_BRANCH = os .environ ["GITHUB_DEFAULT_BRANCH" ]
22- GITHUB_CODEOWNERS_PATH = Path (".github/CODEOWNERS" )
2322GITHUB_WORKFLOWS_PATH = Path (".github/workflows" )
2423
2524RUN_TESTS_IGNORE = frozenset ({
2625 Path ("Tools/check-c-api-docs/ignored_c_api.txt" ),
26+ Path (".github/CODEOWNERS" ),
27+ Path (".pre-commit-config.yaml" ),
28+ Path (".ruff.toml" ),
29+ Path ("mypy.ini" ),
2730})
2831
29- CONFIGURATION_FILE_NAMES = frozenset ({
30- ".pre-commit-config.yaml" ,
31- ".ruff.toml" ,
32- "mypy.ini" ,
33- })
3432UNIX_BUILD_SYSTEM_FILE_NAMES = frozenset ({
3533 Path ("aclocal.m4" ),
3634 Path ("config.guess" ),
@@ -178,8 +176,6 @@ def process_changed_files(changed_files: Set[Path]) -> Outputs:
178176
179177 if not (
180178 doc_file
181- or file == GITHUB_CODEOWNERS_PATH
182- or file .name in CONFIGURATION_FILE_NAMES
183179 or file in RUN_TESTS_IGNORE
184180 ):
185181 run_tests = True
You can’t perform that action at this time.
0 commit comments