-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (76 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
85 lines (76 loc) · 2.21 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
78
79
80
81
82
83
84
85
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "embody"
version = "0.1.10"
description = "Generate templated objects"
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
license-files = ["LICENSE"]
keywords = [
"templating",
"template",
"object-generation",
"nested-data",
"json-pointer",
"path-addressing",
"mapping",
"configuration",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Code Generators",
]
authors = [{ name = "Thor Whalen" }]
dependencies = ["dol"]
[project.urls]
Homepage = "https://github.com/i2mint/embody"
Documentation = "https://i2mint.github.io/embody/"
Repository = "https://github.com/i2mint/embody"
Issues = "https://github.com/i2mint/embody/issues"
[project.optional-dependencies]
dev = ["pytest>=7.0", "pytest-cov>=4.0", "ruff>=0.1.0"]
docs = ["sphinx>=6.0", "sphinx-rtd-theme>=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.wads.ci.testing]
# `scrap/` is throwaway code (already excluded from ruff); wads' default
# exclude of "scrap" only matches a top-level dir, so name the real path.
exclude_paths = ["examples", "embody/scrap"]
[tool.pytest.ini_options]
minversion = "6.0"
# CI runs `pytest --doctest-modules` with no path argument, so collection is
# driven entirely by testpaths. The package dir must be listed here or none of
# its doctests ever run.
testpaths = ["tests", "embody"]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "ELLIPSIS"]