Skip to content

Commit ba9156f

Browse files
Merge sets as req by Peter
1 parent d9d85cd commit ba9156f

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

Tools/build/compute-changes.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,16 @@
1919
from collections.abc import Set
2020

2121
GITHUB_DEFAULT_BRANCH = os.environ["GITHUB_DEFAULT_BRANCH"]
22-
GITHUB_CODEOWNERS_PATH = Path(".github/CODEOWNERS")
2322
GITHUB_WORKFLOWS_PATH = Path(".github/workflows")
2423

2524
RUN_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-
})
3432
UNIX_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

0 commit comments

Comments
 (0)