-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
58 lines (46 loc) · 1.13 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[tool.ruff]
builtins = ["_", "load_translations", "get_icons"]
exclude = ["docs"]
[tool.ruff.lint]
select = [
"E", # pycodestyle error
"F", # Pyflakes
"I", # isort
"W", # pycodestyle warning
]
[tool.mypy]
exclude = ["tests", "__main__", "docs"]
explicit_package_bases = true
check_untyped_defs = true
# strict = true
[[tool.mypy.overrides]]
module = "calibre.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "calibre_plugins.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "PyQt6.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "requests.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "lxml.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "spacy.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "rapidfuzz.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ".*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "__main__.*"
ignore_missing_imports = true
[tool.typos]
type.json.check-file = false
type.po.check-file = false
default.extend-words = {"BA" = "BA", "opf" = "opf", "EVN" = "EVN"}