Commit b85cf74
authored
Add mypy presubmit workflow for Python samples
This commit adds a GitHub Actions presubmit workflow that runs mypy on the
Python samples directory.
This helps detect type errors early and improves the overall user experience,
as requested in issue #13303.
The workflow runs on pull requests that modify Python sample files, installs
mypy and the sample dependencies, and performs type checking with:
mypy samples/python --ignore-missing-imports
This presubmit aligns the samples with recommended typing practices and makes
type failures visible before merge.
Closes #13303.1 parent eff0040 commit b85cf74
1 file changed
+30
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments