-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
75 lines (58 loc) · 1.37 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
# SPDX-FileCopyrightText: 2023 Artemis Changelog Contributors
#
# SPDX-License-Identifier: EUPL-1.2
[tool.poetry]
name = "artemis-changelog"
version = "0.1.0"
description = ""
license = "EUPL-1.2"
authors = ["Benedikt Fein <fein@fim.uni-passau.de>"]
readme = "README.adoc"
packages = [{include = "artemis_changelog", from = "src"}]
[tool.poetry.dependencies]
python = ">=3.12,<4.0"
gitpython = "3.1.43"
jinja2 = "3.1.4"
more-itertools = "10.5.0"
semver = "3.0.2"
[tool.poetry.group.dev.dependencies]
black = "~24.10.0"
isort = { extras = ["pyproject"], version = "~5.13.0" }
mypy = "~1.13.0"
pre-commit = "~4.0.0"
pylint = "~3.3.0"
pyre-check = "~0.9.0"
pyupgrade = "~3.19.0"
reuse = "~5.0.0"
ruff = "~0.8.0"
[tool.isort]
profile = "black"
[tool.mypy]
[[tool.mypy.overrides]]
module = "semver"
ignore_missing_imports = true
[tool.ruff]
line-length = 88
target-version = "py312"
output-format = "full"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN101", # no need to type-annotate `self`
"ANN102", # no need to type-annotate `cls`
"D",
"E501", # line length managed by black formatter
"COM812" # trailing comma managed by black formatter
]
exclude = [
"docs",
".venv",
"venv",
".mypy_cache",
".pytest_cache",
]
[tool.ruff.lint.mccabe]
max-complexity = 10
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"