Commit bfe5081
committed
🔧 Permit many-arg test sigs in lint configs
Parametrized tests that also pull in pytest fixtures legitimately
end up with more than the default 5-arg cap that ruff, flake8
(wemake) and pylint all enforce.
`PLR0913` (ruff) is added to the `tests/**.py` per-file-ignores
in `.ruff.toml`; `WPS211` (wemake) is added to the equivalent
section in `.flake8`, alongside an updated rationale comment.
pylint's own `R0913` is left to be suppressed inline on the
specific test function where it fires; this project does not
currently trigger it but the lint configs are mirrored across
sibling tox_plugins.* projects for cross-project consistency.1 parent fee81b1 commit bfe5081
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
0 commit comments