-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
127 lines (110 loc) · 2.97 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[build-system]
requires = [
"pip>=23.0",
"pytest-runner>=6.0.0",
"setuptools>=67.1.0",
"setuptools_scm[toml]>=7.1.0",
"wheel>=0.38.4",
]
build-backend = "setuptools.build_meta"
[project]
authors = [
{ name = "Jason Lubken", email = "[email protected]" },
{ name = "Graydon Neill", email = "[email protected]" },
{ name = "Penn Signals", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Utilities",
]
dependencies = [
"pyyaml>=6.0",
]
description = "Configuration from Environment embedded in yaml."
dynamic = ["version"]
license = { file = "license.txt" }
name = "cfgenvy"
requires-python = ">=3.9"
readme = "readme.md"
[project.optional-dependencies]
dev = [
"astroid",
"black",
"coverage[toml]",
"flake8",
"flake8-bugbear",
"flake8-commas",
"flake8-comprehensions",
"flake8-docstrings",
# "flake8-logging-format",
"flake8-mutable",
"flake8-sorted-keys",
"isort",
"mypy",
"pep8-naming",
"pre-commit",
"pylint",
"pytest",
"pytest-cov",
"types-pyyaml",
]
[project.urls]
Homepage = "https://github.com/pennsignals/cfgenvy"
Source = "https://github.com/pennsignals/cfgenvy"
Tracker = "https://github.com/pennsignals/cfgenvy/issues"
[tool.black]
line-length = 79
target-version = ["py39","py310","py311","py312"]
[tool.coverage.report]
exclude_lines = [
"raise NotImplementedError()",
"pragma: nocover",
"if __name__ == .__main__.:",
]
precision = 2
show_missing = true
[tool.coverage.run]
branch = true
parallel = true
[tool.distutils.bdist_wheel]
python-tag = "py39.py310.py311.py312"
[tool.isort]
include_trailing_comma = true
line_length = 79
multi_line_output = 3
known_first_party = ["cfgenvy"]
default_section = "THIRDPARTY"
[tool.mypy]
follow_imports = "normal"
ignore_missing_imports = false
[tool.pylint.basic]
good-names = '''e,i,logger,Dumper,Loader,'''
[tool.pylint.message_control]
disable = '''duplicate-code'''
[tool.pylint.miscellaneous]
notes = '''FIXME,XXX'''
[tool.pylint.similarities]
min-similarity-lines = 4
ignore-comments = "yes"
ignore-docstrings = "yes"
ignore-imports = "yes"
[tool.pytest.ini_options]
addopts = "-ra --cov=cfgenvy --cov-report=term-missing --strict-markers --ignore=.eggs --tb=short"
testpaths = ["test"]
norecursedirs = ".env .git .venv build dist"
python_files = "test.py tests.py test_*.py *_test.py"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
local_scheme = "dirty-tag"