-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
100 lines (89 loc) · 1.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
[project]
name = "np-config"
version = "0.4.34"
description = "Config fetching from file or Zookeeper - with local backup - repackaging code from AIBS mpeconfig."
authors = [
{ name = "Ben Hardcastle", email = "[email protected]" },
{ name = "Ross Hytnen", email = "[email protected]" },
{ name = "Ben Sutton", email = "[email protected]" },
]
maintainers = [
{ name = "Ben Hardcastle", email = "[email protected]" },
]
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
requires-python = ">=3.7,<4.0"
dependencies = [
"kazoo~=2.8",
"pyyaml<7,>=5",
"typing-extensions>=4",
"requests<3,>=2",
"backports-cached-property",
"singledispatch<5.0.0,>=4.0.0",
"types-singledispatch<5.0.0.0,>=4.0.0.1",
"platformdirs<4.0.0,>=3.11.0",
]
[project.urls]
Repository = "https://github.com/alleninstitute/np_config"
"Bug Tracker" = "https://github.com/alleninstitute/np_config/issues"
[tool.pdm]
plugins = [
"pdm-bump",
]
[tool.pdm.dev-dependencies]
dev = [
"mypy",
"types-PyYaml",
"types-requests",
"pip-tools",
"isort",
"black",
"pytest",
"coverage[toml]<8.0.0,>=7.1.0",
"pytest-cov<5.0.0,>=4.0.0",
]
[tool.pdm.build]
includes = [
"src/np_config",
]
[tool.pdm.scripts]
pre_build = "pdm run bumpver"
[tool.pdm.scripts.bumpver]
composite = [
"pdm self add pdm-bump",
"pdm bump micro",
]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
"--doctest-modules",
]
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
"ELLIPSIS",
]
testpaths = [
"tests",
"src",
]
[tool.coverage.paths]
source = [
"src",
]
[tool.coverage.run]
branch = true
source = [
"np_config",
]
[tool.coverage.report]
show_missing = true
[build-system]
requires = [
"pdm-backend",
]
build-backend = "pdm.backend"