-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
61 lines (50 loc) · 1.23 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
[project]
name = "live_data_server"
description = "Data server for data plots"
dynamic = ["version"]
requires-python = ">=3.6"
dependencies = [
# list all runtime dependencies here
]
license = { text = "BSD-3" }
[project.urls]
homepage = "https://livedata-ornl.readthedocs.io" # if no homepage, use repo url
[build-system]
requires = ["setuptools >= 40.6.0", "wheel", "toml", "versioningit"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 119
[tool.versioningit.vcs]
method = "git"
default-tag = "0.0.1"
[tool.versioningit.next-version]
method = "minor"
[tool.versioningit.format]
distance = "{next_version}.dev{distance}"
dirty = "{version}+d{build_date:%Y%m%d}"
distance-dirty = "{next_version}.dev{distance}+d{build_date:%Y%m%d%H%M}"
[tool.versioningit.write]
file = "src/live_data_server/live_data_server/_version.py"
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["tests*", "scripts*", "docs*"]
[tool.pytest.ini_options]
pythonpath = [".", "src", "scripts"]
testpaths = ["tests"]
python_files = ["test*.py"]
[tool.ruff]
line-length = 120
lint.select = [
"A",
"ARG",
"ASYNC",
"BLE",
"C90",
"E",
"F",
"I",
"N",
"UP032",
"W",
]
# Add additional 3rd party tool configuration here as needed