diff --git a/pyproject.toml b/pyproject.toml index 721a792ffb..5db79d222e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,13 @@ [tool.ruff] line-length = 160 target-version = 'py38' -select = ['E', 'F'] -ignore = ['E741', 'E402', 'E722', 'E401'] builtins = ['_'] -[tool.ruff.per-file-ignores] +[tool.ruff.lint] +ignore = ['E741', 'E402', 'E722', 'E401'] +select = ['E', 'F'] + +[tool.ruff.lint.per-file-ignores] "src/calibre/ebooks/unihandecode/unicodepoints.py" = ["E501"] "src/qt/__init__.py" = ["E501"]