-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
96 lines (83 loc) · 1.89 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
[project]
name = "butter-backup"
version = "3.5.1"
description = "Vollverschlüsselte, pseudoinkrementelle Sicherungskopien leicht gemacht"
authors = [{name = "Max Görner", email = "max@familie-goerner.eu"}]
license = "GPL-3.0-or-later"
readme = "README.md"
requires-python = ">=3.9,<4.0.0"
dependencies = [
"loguru>=0.7.3",
"pydantic>=2.10.6",
"shell-interface>=1.0.0",
"storage-device-managers>=1.0.0",
"typer>=0.15.1",
]
[project.optional-dependencies]
all = [
"rich>=13.9.4",
]
[project.scripts]
butter-backup = "butter_backup.cli:cli"
[dependency-groups]
dev = [
"black>=25.1.0",
"hypothesis>=6.125.3",
"mypy>=1.15.0",
"pdbpp>=0.10.3",
"pynvim>=0.5.2",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"pytest-xdist>=3.6.1",
"ruff>=0.9.6",
]
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
hypothesis = "^6.108.2"
pytest = "^8.3.1"
pynvim = "^0.5.2"
pdbpp = "^0.10.3"
pytest-cov = "^5.0.0"
mypy = "^1.11.0"
black = "^24.4.2"
ruff = ">=0.5.4,<0.10.0"
pytest-xdist = "^3.6.1"
[tool.mypy]
plugins = [
"pydantic.mypy"
]
allow_any_unimported = false
warn_unreachable = true
enable_error_code = [
"possibly-undefined"
]
strict = true
allow_incomplete_defs = true
allow_untyped_defs = true
[[tool.mypy.overrides]]
module = "tests.*"
disable_error_code = [
"possibly-undefined"
]
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true
[tool.pytest.ini_options]
addopts = [
"--cov", "src",
"--cov-branch",
"--cov-fail-under", "85"
]
testpaths = ["tests"]
[tool.ruff]
src = [".", "src/"]
[tool.ruff.lint]
select = ["A", "B", "C", "F", "I", "ISC", "PIE", "PL", "Q", "RUF", "SIM", "TID", "W", "YTT"]
ignore = ["E", "PLC1901", "SIM117"]
mccabe.max-complexity = 6
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"