-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
75 lines (65 loc) · 1.92 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
# https://packaging.python.org/en/latest/tutorials/packaging-projects/
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.3.1"]
build-backend = "setuptools.build_meta"
[project]
name = "piny"
description = "Load YAML configs with environment variables interpolation"
readme = "README.rst"
authors = [
{name = "Vitaly Samigullin", email = "[email protected]"},
]
dynamic = ["version"]
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
"Operating System :: POSIX :: Linux",
"Environment :: Console",
"Environment :: MacOS X",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet",
]
requires-python = ">=3.7"
dependencies = [
"PyYAML>=6,<7",
"Click>=8,<9",
]
[project.optional-dependencies]
pydantic = ["pydantic>=0.28"]
marshmallow = ["marshmallow>=3"]
trafaret = ["trafaret>=1.2.0"]
[project.urls]
"Source code" = "https://github.com/pilosus/piny/"
"Issue tracker" = "https://github.com/pilosus/piny/issues"
"Documentation" = "https://piny.readthedocs.io/en/latest/"
[project.scripts]
piny = "piny.cli:cli"
[tool.setuptools_scm]
write_to = "_version.py"
[tool.isort]
atomic = true
line_length = 88
skip_gitignore = true
known_first_party = ["piny"]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
[tool.mypy]
ignore_missing_imports = true
follow_imports = "silent"
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
[tool.black]
target-version = ["py37", "py38", "py39", "py310", "py311"]
line-length = 88
[tool.coverage.report]
fail_under = 95