Rename check_consistent.py to check_typeshed_structure.py (#11761)

This commit is contained in:
Sebastian Rittau
2024-04-14 22:34:10 +02:00
committed by GitHub
parent b9fd082cf7
commit f4b89f5f86
5 changed files with 13 additions and 11 deletions

View File

@@ -84,8 +84,8 @@ def main() -> None:
print("\nRunning pre-commit...")
pre_commit_result = subprocess.run(["pre-commit", "run", "--all-files"])
print("\nRunning check_consistent.py...")
check_consistent_result = subprocess.run([sys.executable, "tests/check_consistent.py"])
print("\nRunning check_typeshed_structure.py...")
check_structure_result = subprocess.run([sys.executable, "tests/check_typeshed_structure.py"])
print("\nRunning check_new_syntax.py...")
check_new_syntax_result = subprocess.run([sys.executable, "tests/check_new_syntax.py"])
@@ -179,7 +179,7 @@ def main() -> None:
any_failure = any(
[
pre_commit_result.returncode,
check_consistent_result.returncode,
check_structure_result.returncode,
check_new_syntax_result.returncode,
pyright_returncode,
mypy_result.returncode,
@@ -206,7 +206,7 @@ def main() -> None:
applied some autofixes. If the latter, you may want to check
that the autofixes did sensible things."""
)
print("Check consistent:", _SUCCESS if check_consistent_result.returncode == 0 else _FAILED)
print("Check structure:", _SUCCESS if check_structure_result.returncode == 0 else _FAILED)
print("Check new syntax:", _SUCCESS if check_new_syntax_result.returncode == 0 else _FAILED)
if pyright_skipped:
print("Pyright:", _SKIPPED)