-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
109 lines (96 loc) · 2.13 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
101
102
103
104
105
106
107
108
109
[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",
"Topic :: Scientific/Engineering"
]
dependencies = [
"attrs>=21.3",
"pint>=0.16"
]
description = "Pint meets attrs."
keywords = []
license = {file = "LICENSE"}
name = "pinttrs"
readme = "README.md"
requires-python = ">=3.8"
version = "24.2.0.dev0"
[project.urls]
Changelog = "https://github.com/leroyvn/pinttrs/blob/main/CHANGELOG.md"
Documentation = "https://pinttrs.readthedocs.io"
Homepage = "https://github.com/leroyvn/pinttrs"
Issues = "https://github.com/leroyvn/pinttrs/issues"
Repository = "https://github.com/leroyvn/pinttrs"
[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/pinttrs", "src/pinttr"]
[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 = [
"tests",
"docs"
]
[tool.ruff]
select = ["I"]
[tool.ruff.isort]
relative-imports-order = "closest-to-furthest"
[tool.rye]
dev-dependencies = [
"furo>=2023",
"myst-parser>=0.16",
"pytest-cov>=3.0",
"pytest-xdist>=2.4",
"pytest>=6.2",
"sphinx-autobuild>=2021.3",
"sphinx-autodoc-typehints",
"sphinx-copybutton>=0.4",
"sphinx>=7",
"xdoctest>=0.15.0",
"setuptools>=69.1.1"
]
managed = true