Commit 41843a2
committed
fix(lint): UP038 isinstance tuple wrappers + codespell matric whitelist
- src/audit_chain.py: isinstance(v, (np.integer,)) -> isinstance(v, np.integer)
same for np.floating. Single-element tuples are semantically equivalent
but ruff UP038 prefers the bare type for readability.
- .pre-commit-config.yaml: add "matric" to codespell -L list. "matric
potential" is a real soil-physics term used in the Philip-de Vries
formulation, not a typo of metric/matrix.1 parent b106fa0 commit 41843a2
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments