Commit 5b5a1d3
committed
fix: make vulture blocking and add whitelist for Pydantic validators
- Changed vulture from error: true to error: false (blocking check)
- Created .vulture_whitelist.py to whitelist cls parameter in validators
- Updated CI to use whitelist file in vulture command
- Removed temporary noqa comments from models.py
- Vulture will now block CI if dead code is found1 parent 3d5a5a3 commit 5b5a1d3
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments