calibre/pyproject.toml
2024-03-29 13:17:09 +05:30

31 lines
631 B
TOML

[project]
requires-python = ">=3.8"
[tool.ruff]
line-length = 160
target-version = 'py38'
builtins = ['_']
[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"]
[tool.ruff.format]
quote-style = 'single'
[tool.isort]
profile = "black"
combine_as_imports = true
multi_line_output = 5
known_future_library = "__python__"
known_third_party = "qt"
known_standard_library = "aes,elementmaker,encodings"
known_first_party = "calibre_extensions"
[tool.pylsp-mypy]
enabled = false