-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (50 loc) · 1.56 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
[tool.poetry]
name = "nshconfig"
version = "0.35.1"
description = "Fully typed configuration management, powered by Pydantic"
authors = ["Nima Shoghi <[email protected]>"]
readme = "README.md"
[tool.poetry.urls]
homepage = "https://github.com/nimashoghi/nshconfig"
[tool.poetry.dependencies]
python = "^3.10"
pydantic = ">=2.10.0"
typing-inspect = "*"
treescope = { version = "*", optional = true }
pydantic-yaml = { version = "*", optional = true }
[tool.poetry.group.dev.dependencies]
pyright = "*"
ruff = "*"
ipykernel = "*"
ipywidgets = "*"
pytest = "*"
pytest-cov = "*"
sphinx = { version = "*", optional = true }
sphinx-rtd-theme = { version = "*", optional = true }
myst-parser = { version = "*", optional = true }
sphinx-copybutton = { version = "*", optional = true }
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pyright]
typeCheckingMode = "standard"
deprecateTypingAliases = true
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
reportPrivateImportUsage = false
[tool.ruff.lint]
select = ["FA102", "FA100"]
ignore = ["F722", "F821", "E731", "E741"]
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
[tool.poetry.extras]
extra = ["treescope", "pydantic-yaml"]
yaml = ["pydantic-yaml"]
docs = ["sphinx", "sphinx-rtd-theme", "myst-parser", "sphinx-copybutton"]
[tool.poetry.scripts]
nshconfig-export = "nshconfig.bin.export:main"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "--cov=nshconfig --cov-report=term-missing"