Commit aeb485f
Replace yesqa hook from pre-commit configuration with Ruff's RUF100 (#8692)
This pull request updates the project's linting configuration by
removing the standalone `yesqa` pre-commit hook and enabling the
equivalent rule in `ruff`. This streamlines the code quality checks and
reduces dependency complexity.
Linting configuration updates:
* Removed the `yesqa` hook from `.pre-commit-config.yaml`, eliminating
the need for its additional dependencies and exclusions.
* Enabled the `RUF100` rule in the `pyproject.toml` configuration for
`ruff`, which provides the same functionality as `yesqa` for identifying
unused `noqa` comments.
---------
Signed-off-by: jirka <jirka.borovec@seznam.cz>
Signed-off-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 40df2f6 commit aeb485f
File tree
3 files changed
+2
-19
lines changed- monai/apps/nnunet
3 files changed
+2
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 40 | | |
58 | 41 | | |
59 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments