-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
41 lines (33 loc) · 1.01 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[project]
name = "bookshare-calibre-plugin"
authors = [{name = "Rob Chiocchio", email = "[email protected]"}]
requires-python = ">=3.8"
dynamic = ["version", "license"]
[tool.poetry]
package-mode = false
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.group.dev.dependencies]
ruff = "^0.3.7"
pytest = "^8.1.1"
[tool.ruff]
line-length = 160
indent-width = 4
target-version = "py38"
builtins = ["_"]
extend-exclude = ["calibre-plugin/*_ui.py"]
[tool.ruff.lint]
ignore = ["E402", "E722", "E401", "N999", "RUF012"]
select = ["E", "F", "I", "N", "ASYNC", "S", "B", "A", "RUF"]
[tool.ruff.format]
quote-style = "double"
skip-magic-trailing-comma = false
[tool.ruff.lint.isort]
detect-same-package = true
known-first-party = ["calibre"]
known-third-party = ["qt", "polyglot"]
relative-imports-order = "closest-to-furthest"
split-on-trailing-comma = false
section-order = ["__python__", "future", "standard-library", "third-party", "first-party", "local-folder"]
[tool.ruff.lint.isort.sections]
"__python__" = ["__python__"]