Answer prose round 1: 0 🔴, 2 🟡 (0 misread); put the Test command first, rewrite the changelog entry
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import pathlib
|
||||
|
||||
# The checkout root, which the repo checks read.
|
||||
# The checkout root.
|
||||
ROOT = pathlib.Path(__file__).resolve().parents[2]
|
||||
|
||||
@@ -13,7 +13,7 @@ SUPPORTED = re.compile(r"the latest stable Python, today (3\.\d+)")
|
||||
|
||||
|
||||
def tools() -> list[str]:
|
||||
"""mypy's arguments naming every package and module under bin/ but the repo checks, so a new tool is checked without being listed."""
|
||||
"""mypy's arguments naming every package and module under bin/ except `repo_checks`, so a new tool is checked without being listed."""
|
||||
bin_folder = ROOT / "bin"
|
||||
packages = sorted(init.parent.name for init in bin_folder.glob("*/__init__.py") if init.parent.name != "repo_checks")
|
||||
modules = sorted(path.stem for path in bin_folder.glob("*.py") if not path.name.startswith("test_"))
|
||||
|
||||
Reference in New Issue
Block a user