Skip to content

Commit

Permalink
split out the packaging test from the general self type check
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Feb 6, 2025
1 parent f238186 commit b580485
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,23 @@
# Self type check
"self": [
executable,
"-c",
"from mypy.main import main as mypy; "
"mypy(args=['--config-file', 'mypy_self_check.ini', '-p', 'mypy', '-p', 'mypyc']); "
"mypy(args=['--config-file', 'mypy_self_check.ini', 'setup.py'])",
"-m",
"mypy",
"--config-file",
"mypy_self_check.ini",
"-p",
"mypy",
"-p",
"mypyc",
],
# Type check setup.py as well
"self-packaging": [
executable,
"-m",
"mypy",
"--config-file",
"mypy_self_check.ini",
"setup.py",
],
# Lint
"lint": ["pre-commit", "run", "--all-files"],
Expand Down

0 comments on commit b580485

Please # to comment.