-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
29 lines (21 loc) · 859 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
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.
# -- Build -----------------------------------------------------------------------------
[build-system]
requires = [
"setuptools >= 60.0.0",
"setuptools_scm[toml] >= 4",
"setuptools_scm_git_archive",
"wheel >= 0.37.0",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "lattpy/_version.py"
git_describe_command = "git describe --dirty --tags --long --match * --first-parent"
# -- Black -----------------------------------------------------------------------------
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = "__main__.py|_version.py|renderer"