Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (70 loc) · 2.07 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (70 loc) · 2.07 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
[project]
name = "quantities"
description = "Support for physical quantities with units, based on numpy"
readme = "README.rst"
requires-python = ">=3.11"
license-files = ["doc/user/license.rst"]
authors = [
{name = "Darren Dale", email = "dsdale24@gmail.com"}
]
maintainers = [
{name = "Andrew Davison", email = "andrew.davison@cnrs.fr"}
]
keywords = ["quantities", "units", "physical", "constants"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Education",
"Topic :: Scientific/Engineering"
]
dependencies = [
"numpy>=2.0"
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest",
"wheel",
"ruff"
]
doc = [
"sphinx"
]
scipy = [
# use the SciPy implementation of the trapezoidal rule
# for numerical integration,
"scipy"
]
[project.urls]
documentation = "http://python-quantities.readthedocs.io/"
repository = "https://github.com/python-quantities/python-quantities"
changelog = "https://github.com/python-quantities/python-quantities/blob/master/CHANGES.txt"
download = "http://pypi.python.org/pypi/quantities"
[build-system]
requires = ["setuptools", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "quantities/_version.py"
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
# pycodestyle errors and warnings, pyflakes, isort.
# Additional rule sets may be enabled over time as the codebase is
# brought into conformance.
select = ["E", "F", "W", "I"]
ignore = []
[tool.ruff.lint.per-file-ignores]
# Unit modules deliberately re-export many names; suppress
# "imported but unused" warnings there.
"quantities/units/*.py" = ["F401"]
"quantities/constants/*.py" = ["F401"]
"quantities/__init__.py" = ["F401", "F403"]
# Generated from NIST_codata.txt with one constant per line.
"quantities/constants/_codata.py" = ["E501"]