This repository was archived by the owner on Jul 2, 2026. It is now read-only.
Commit dbc193c
committed
fix: mypy default target + kubeconform empty-batch graceful exit
- mypy: detect when caller's args contain no path target and default to `.`,
so a bare `id: mypy` no longer fails with "Missing target module, package,
files, or command." Consumers can still pass an explicit target via args.
- kubeconform: when every input file gets filtered out (e.g. a batch of only
Helm values.yaml + Chart.yaml — neither manifests nor chart templates),
exit 0 instead of falling through to a no-arg kubeconform call that blocks
reading from stdin and emits "failing to read data from stdin".1 parent 1295415 commit dbc193c
2 files changed
Lines changed: 24 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
124 | 127 | | |
125 | | - | |
| 128 | + | |
126 | 129 | | |
127 | 130 | | |
128 | 131 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
8 | 25 | | |
9 | 26 | | |
10 | 27 | | |
11 | | - | |
| 28 | + | |
12 | 29 | | |
13 | 30 | | |
14 | 31 | | |
15 | | - | |
| 32 | + | |
16 | 33 | | |
17 | 34 | | |
18 | 35 | | |
| |||
0 commit comments