diff --git a/pyproject.toml b/pyproject.toml index 5ad5101c01..3e7ed6936b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -354,6 +354,11 @@ ignore = "D413, D416, D203, D107, D213" profile = "black" force_grid_wrap = 1 +[tool.ruff] +extend-exclude = [ + "source/3rdparty/**", +] + [tool.ruff.format] docstring-code-format = true @@ -397,10 +402,6 @@ ignore = [ "D404", # TODO: first word of the docstring should not be This ] -exclude = [ - "source/3rdparty/**", -] - [tool.ruff.lint.pydocstyle] convention = "numpy"