-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
38 lines (30 loc) · 929 Bytes
/
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
[build-system]
requires = ["setuptools", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "si-prefix"
description = "Functions for formatting numbers according to SI standards."
keywords = ["si", "prefix", "format", "number", "precision"]
authors = [
{name = "Christian Fobel", email = "[email protected]"}
]
urls = {homepage = "https://github.com/cfobel/si-prefix"}
license = {text = "BSD-3"}
readme = "README.md"
dependencies = []
dynamic = ["version"]
[project.optional-dependencies]
testing = ["pytest", "pytest-cov", "black", "flake8", "flake8-pyproject", "isort"]
[tool.setuptools_scm]
write_to = "si_prefix/_version.py"
[tool.setuptools]
packages = ["si_prefix"]
[tool.setuptools.package-data]
"*" = ["*.txt", "*.rst"]
[tool.pytest.ini_options]
addopts = "--maxfail=2 --disable-warnings"
[tool.isort]
profile = "black"
[tool.flake8]
max-line-length = 88
exclude = ["docs"]