-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
107 lines (92 loc) · 2.46 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
102
103
104
105
106
107
[build-system]
requires = ["setuptools>=45"]
build-backend = "setuptools.build_meta"
[project]
name = "abrechnung"
authors = [
{ name = "Michael Loipführer", email = "[email protected]" },
{ name = "Jonas Jelten", email = "[email protected]" },
{ name = "Michael Enßlin", email = "[email protected]" },
]
license = { file = "LICENSE" }
dynamic = ["version", "description"]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3 (AGPLv3)",
"Development Status :: 5 - Production/Stable",
]
requires-python = ">=3.10"
dependencies = [
"sftkit==0.3.0",
"pydantic[email]~=2.10.3",
"pydantic-settings==2.6.1",
"python-jose[cryptography]~=3.3.0",
"passlib[bcrypt]~=1.7.0",
"websockets~=14.1",
"python-multipart~=0.0.19",
"PyYAML~=6.0.2",
]
[project.optional-dependencies]
test = [
"aiosmtpd~=1.4",
"pytest",
"pytest-asyncio",
"pytest-cov",
"httpx~=0.27",
]
dev = [
"isort",
"black",
"mypy==1.13.0",
"types-PyYAML~=6.0",
"pylint==3.3.2",
"bump-my-version~=0.18",
]
docs = ["sphinx", "sphinx-autobuild", "sphinx-autodoc-typehints"]
[project.urls]
Source = "https://github.com/SFTtech/abrechung"
Documentation = "https://abrechnung.readthedocs.io"
[project.scripts]
abrechnung = "abrechnung.cli.main:main"
[tool.setuptools.packages.find]
namespaces = false
exclude = ["tests*"]
[tool.setuptools.dynamic]
version = { attr = "abrechnung.__version__" }
description = { file = ["README.md"] }
[tool.pylint.MASTER]
extension-pkg-whitelist = ["pydantic"]
[tool.pylint.format]
max-line-length = 120
[tool.pylint.messages_control]
disable = [
"C",
"R",
"fixme",
"logging-fstring-interpolation",
"broad-exception-caught",
]
[tool.black]
line-length = 120
target-version = ["py311"]
[tool.isort]
profile = "black"
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
pretty = true
plugins = ["pydantic.mypy"]
[tool.coverage.run]
source = ["abrechnung"]
[tool.bumpversion]
current_version = "1.0.0"
commit = false
files = [
{ filename = "abrechnung/__init__.py" },
{ filename = "CHANGELOG.md", search = "Unreleased", replace = "{new_version} ({now:%Y-%m-%d})" },
{ filename = "CHANGELOG.md", search = "v{current_version}...HEAD", replace = "v{current_version}...v{new_version}" },
]
[tool.sftkit]
db_code_dir = "abrechnung/database/code"
db_migrations_dir = "abrechnung/database/revisions"