-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
89 lines (75 loc) · 2.31 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
authors = [{ name = "Vincent Leroy", email = "vincent.leroy@rayference.eu" }]
classifiers = [
"Development Status :: 6 - Mature",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = ["attrs>=21"]
description = "A simple factory implementation written in Python"
keywords = []
license = { file = "LICENSE" }
name = "dessinemoi"
readme = "README.md"
requires-python = ">=3.8"
version = "24.2.0.dev0"
[project.urls]
Changelog = "https://github.com/rayference/dessinemoi/blob/main/CHANGELOG.md"
Documentation = "https://dessinemoi.readthedocs.io"
Homepage = "https://github.com/rayference/dessinemoi"
Issues = "https://github.com/rayference/dessinemoi/issues"
Repository = "https://github.com/rayference/dessinemoi"
[tool.coverage.html]
directory = "./reports/coverage/html"
[tool.coverage.json]
output = "./reports/coverage/coverage.json"
[tool.coverage.paths]
equivalent = ["src/", "__pypackages__/"]
[tool.coverage.report]
omit = ["src/*/__init__.py", "src/*/_version.py"]
precision = 2
show_missing = true
skip_covered = true
[tool.coverage.run]
branch = true
parallel = true
source = ["src/"]
[tool.hatch.build.targets.wheel]
packages = ["src/dessinemoi"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.pytest.ini_options]
addopts = "--doctest-glob='*.rst'"
norecursedirs = [".git", ".env", "dist", "build", "__pypackages__"]
python_files = ["test_*.py", "*_test.py", "tests.py"]
testpaths = ["docs", "tests"]
[tool.ruff.lint]
select = ["I", "E", "F"]
[tool.ruff.lint.isort]
relative-imports-order = "closest-to-furthest"
[tool.rye]
dev-dependencies = [
"furo>=2021.11",
"myst-parser>=0.16",
"pytest>=6.2",
"pytest-xdist>=2.4",
"pytest-cov>=3.0",
"sphinx>=4.0",
"sphinx-autobuild>=2021.3",
"sphinx-autodoc-typehints>=1.18",
"sphinx-copybutton>=0.4",
"xdoctest>=0.15.0",
]
managed = true
[tool.rye.scripts]
docs = { cmd = "sphinx-build -b html docs docs/_build/html" }
docs-clean = { cmd = "rm -rf docs/_build/" }
docs-serve = { cmd = "sphinx-autobuild docs docs/_build/html" }
test = { cmd = "pytest" }