-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
47 lines (38 loc) · 921 Bytes
/
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
[tool.poetry]
name = "dataclass-click"
version = "0.0.0" # Replaced in CI pipeline
description = "Use PEP 593 annotations to define click options and arguments"
authors = ["Philip Couling <couling@gmail.com>"]
readme = "README.md"
repository = "https://github.com/couling/dataclass-click"
[tool.poetry.dependencies]
python = "^3.10"
click = "^8.0.0"
[tool.poetry.group.test.dependencies]
pytest = "^8.0.0"
coverage = "^7.4.1"
mypy = "^1.8.0"
[tool.poetry.group.dev.dependencies]
yapf = "^0.40.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.coverage.run]
source = [
"dataclass_click",
]
[tool.yapf]
based_on_style = "pep8"
column_limit = 120
split_before_first_argument = true
each_dict_entry_on_separate_line = false
[tool.mypy]
packages = [
"dataclass_click",
"tests",
]
check_untyped_defs = true