-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
52 lines (44 loc) · 1.17 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
[tool.poetry]
name = "adr"
version = "0.3.0"
description = "This Python script is designed to help software development teams document their architecture decisions using Architecture Decision Records (ADRs)."
authors = ["Daniel Różycki <[email protected]>"]
readme = "README.md"
packages = [{include = "adrpy", from = "src"}]
[tool.poetry.scripts]
adr = "adrpy.entrypoints.cli:cli_entrypoint"
[tool.poetry.dependencies]
python = ">=3.11,<3.13"
typer = "^0.12.0"
loguru = "^0.7.0"
rich = "^13.3.3"
mako = "^1.3.0"
lidipy = "^0.3.0"
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
mypy = "^1.10.0"
pytest = "^8.2.0"
ruff = "^0.5.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# THIRD PARTY
[tool.black]
line_length = 100
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_no_return = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unreachable = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "PL", "T20"]