diff --git a/pyproject.toml b/pyproject.toml index 3383fc0..5275f21 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -131,6 +131,16 @@ exclude_lines = [ [tool.ruff] line-length = 88 target-version = "py310" +exclude = [ + ".git", + "__pycache__", + "docs", + "build", + "dist", + ".venv", +] + +[tool.ruff.lint] select = [ "E", # pycodestyle errors "W", # pycodestyle warnings @@ -144,14 +154,6 @@ ignore = [ "E203", # whitespace before ':' "E501", # line too long (handled by black) ] -exclude = [ - ".git", - "__pycache__", - "docs", - "build", - "dist", - ".venv", -] -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401"] # Allow unused imports in __init__.py