-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
101 lines (88 loc) · 1.98 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[tool.poetry]
name = "mybox"
version = "0.0.1"
description = "Manage the configuration and tools on your workstation without bothering the OS too much"
readme = "README.md"
repository = "https://github.com/koterpillar/mybox"
authors = ["Alexey Kotlyarov <[email protected]>"]
license = "GPL-3.0-or-later"
[tool.poetry.dependencies]
pydantic = "^2.10.3"
python = "^3.11"
PyYAML = "^6.0.2"
trio = "^0.27.0"
tqdm = "^4.67.1"
typed-argparse = "^0.3.1"
jsonpath-ng = "^1.7.0"
beautifulsoup4 = "^4.12.3"
httpx = "^0.28.1"
[tool.poetry.group.dev.dependencies]
black = "^24.10.0"
coverage = {extras = ["toml"], version = "^7.6.9"}
fawltydeps = "^0.18.0"
isort = "^5.13.2"
mypy = "^1.13.0"
pylint = "^3.3.2"
pylint-pydantic = "^0.3.4"
pytest = "^8.3.4"
pytest-trio = "^0.8.0"
trio-typing = {extras = ["mypy"], version = "^0.10.0"}
types-beautifulsoup4 = "^4.12.0.7"
types-PyYAML = "^6.0.12.12"
types-tqdm = "^4.66.0.4"
[tool.poetry.scripts]
mybox = "mybox.main:sync_main"
[build-system]
requires = ["poetry-core>=1.9.1"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
[tool.mypy]
disable_error_code = [
"safe-super",
]
[tool.pylint.main]
jobs = 0
load-plugins = ["pylint_pydantic"]
[tool.pylint.messages_control]
disable = [
"C",
"R",
"broad-exception-raised",
"fixme",
"invalid-name",
"method-cache-max-size-none",
"missing-timeout",
"no-else-raise",
"no-else-return",
"unspecified-encoding",
]
extension-pkg-whitelist = "pydantic"
[tool.pylint.reports]
output-format = "colorized"
[tool.fawltydeps]
ignore_undeclared = ["_typeshed"]
ignore_unused = [
"black",
"coverage",
"fawltydeps",
"isort",
"mypy",
"pylint",
"pylint-pydantic",
"pytest-trio",
]
[tool.pytest.ini_options]
trio_mode = true
[tool.coverage.run]
parallel = true
relative_files = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@abstract",
"@overload",
"assert False",
"pytest.skip",
"raise NotImplementedError"
]