Commit a614f0f
authored
MPT-12322: update Ruff ignore rules (add D107, remove UP046 and UP047) (#4)
Update Ruff ignore rules:
* Add D107: https://docs.astral.sh/ruff/rules/undocumented-public-init/
* Remove UP046 and UP047: stop ignoring [PEP
695](https://peps.python.org/pep-0695/), for those places that still
need to use the ParamSpec type, we can ignore them using -> # noqa:
UP046, UP0471 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
153 | | - | |
154 | | - | |
155 | 154 | | |
156 | 155 | | |
157 | 156 | | |
| |||
0 commit comments