-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
55 lines (47 loc) · 1.2 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
[tool.poetry]
name = "adr"
version = "0.2.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"
typer = "^0.7.0"
loguru = "^0.7.0"
rich = "^13.3.3"
mako = "^1.2.4"
lidipy = "^0.1.1"
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
mypy = "^1.2.0"
pytest = "^7.3.0"
ruff = "^0.0.261"
typer-cli = "^0.0.13"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# ADR-py
[tool.adrpy]
dir = "docs/adr"
# 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]
select = ["E", "F", "I", "PL"]
line-length = 100
target-version = "py311"