diff --git a/pyproject.toml b/pyproject.toml index 21f8a2316..7e5a007b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,7 +77,10 @@ fixable = ["ALL"] preview = true select = [ "E", # pycodestyle + "F", # Pyflakes + "W", # Warning ] + ignore = [ "B008", # function-call-in-default-argument "B024", # abstract-base-class-without-abstract-method @@ -100,6 +103,14 @@ ignore = [ "UP038" # non-pep604-isinstance ] +[tool.ruff.lint.per-file-ignores] +"__init__.py" = [ + "F401", # unused-import + ] +"docs/source/conf.py" = [ + "E402", # unused-import + ] + [tool.ruff.format] quote-style = "single" indent-style = "space"