-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
79 lines (70 loc) · 2.03 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
[tool.poetry]
name = "pydantic-config-builder"
version = "0.5.0"
description = "A tool to build YAML configurations by merging multiple files"
authors = ["kiarina <kiarinadawa@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/kiarina/pydantic-config-builder"
repository = "https://github.com/kiarina/pydantic-config-builder"
documentation = "https://github.com/kiarina/pydantic-config-builder"
keywords = ["pydantic", "yaml", "configuration", "builder"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [
{ include = "pydantic_config_builder" }
]
[tool.poetry.dependencies]
python = "^3.8"
pydantic = "^2.0.0"
PyYAML = "^6.0.0"
click = "^8.0.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
black = "^23.7.0"
isort = "^5.12.0"
mypy = "^1.5.0"
ruff = "^0.0.284"
types-PyYAML = "^6.0.0"
[tool.poetry.scripts]
pydantic_config_builder = "pydantic_config_builder.cli:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.setuptools.package-data]
pydantic_config_builder = ["py.typed"]
[tool.black]
line-length = 100
target-version = ["py38"]
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
[tool.ruff]
line-length = 100
target-version = "py38"
select = ["E", "F", "B", "I"]