-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (68 loc) · 1.71 KB
/
pyproject.toml
File metadata and controls
77 lines (68 loc) · 1.71 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "config2py"
version = "0.1.47"
description = "Simplified reading and writing configurations from various sources and formats"
readme = "README.md"
requires-python = ">=3.10"
keywords = []
authors = []
dependencies = ["dol", "i2", "importlib_resources; python_version < '3.9'"]
[project.license]
text = "Apache-2.0"
[project.urls]
Homepage = "https://github.com/i2mint/config2py"
[project.optional-dependencies]
dev = ["pytest>=7.0", "pytest-cov>=4.0", "ruff>=0.1.0"]
docs = ["sphinx>=6.0", "sphinx-rtd-theme>=1.0"]
# Codec extras - optional dependencies for various config formats
yaml = ["pyyaml>=6.0"]
toml = ["tomli>=2.0.0; python_version < '3.11'", "tomli-w>=1.0.0"]
env = ["python-dotenv>=1.0.0"]
json5 = ["json5>=0.9.0"]
properties = ["jproperties>=2.1.0"]
# Convenience groups
all-codecs = [
"pyyaml>=6.0",
"tomli>=2.0.0; python_version < '3.11'",
"tomli-w>=1.0.0",
"python-dotenv>=1.0.0",
"json5>=0.9.0",
"jproperties>=2.1.0",
]
all = [
"pyyaml>=6.0",
"tomli>=2.0.0; python_version < '3.11'",
"tomli-w>=1.0.0",
"python-dotenv>=1.0.0",
"json5>=0.9.0",
"jproperties>=2.1.0",
]
[tool.ruff]
line-length = 88
target-version = "py310"
exclude = [
"**/*.ipynb",
".git",
".venv",
"build",
"dist",
"tests",
"examples",
"scrap",
]
[tool.ruff.lint]
select = ["D100"]
ignore = ["D203", "E501", "B905"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"**/tests/*" = ["D"]
"**/examples/*" = ["D"]
"**/scrap/*" = ["D"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "ELLIPSIS"]