Skip to content

Commit 0e883dc

Browse files
authored
chore: move Ruff excludes to ruff.extend-exclude (#5112)
Previously, it was in `ruff.lint.exclude`, so exclusions were not applied to `ruff format`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated development tooling configuration to enhance code quality standards and consistency checks. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent d567700 commit 0e883dc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,11 @@ ignore = "D413, D416, D203, D107, D213"
354354
profile = "black"
355355
force_grid_wrap = 1
356356

357+
[tool.ruff]
358+
extend-exclude = [
359+
"source/3rdparty/**",
360+
]
361+
357362
[tool.ruff.format]
358363
docstring-code-format = true
359364

@@ -397,10 +402,6 @@ ignore = [
397402
"D404", # TODO: first word of the docstring should not be This
398403
]
399404

400-
exclude = [
401-
"source/3rdparty/**",
402-
]
403-
404405
[tool.ruff.lint.pydocstyle]
405406
convention = "numpy"
406407

0 commit comments

Comments
 (0)