-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (45 loc) · 1.02 KB
/
Copy pathpyproject.toml
File metadata and controls
54 lines (45 loc) · 1.02 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
[project]
name = "engunits"
dynamic = ["version"]
description = "Typed engineering quantities with SI-default storage, built on pint"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
dependencies = [
"numpy>=2.0",
"pint>=0.24",
]
[dependency-groups]
dev = [
"pytest>=9.0",
"pytest-cov>=7.0",
"ruff>=0.9",
]
docs = [
"sphinx>=8.0",
"furo",
"myst-parser",
"sphinx-copybutton",
"sphinx-autodoc-typehints",
]
[build-system]
requires = ["setuptools>=75.0", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["--strict-markers", "--tb=short", "-q"]
[tool.ruff]
target-version = "py310"
line-length = 99
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "W", "F", "I", "N", "UP", "B", "SIM", "RUF"]
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["engunits"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"