-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (55 loc) · 1.36 KB
/
pyproject.toml
File metadata and controls
67 lines (55 loc) · 1.36 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "versioningit"]
[dependency-groups]
dev = [
"pytest>=6.2.5",
"pytest-cov>=2.12.1",
"ruff>=0.0.290",
"prek>=0.2.27",
"versioningit>=3.1.1",
"ty>=0.0.6",
"zensical>=0.0.2",
"mkdocstrings-python>=1.0.0"
]
[project]
authors = [{name = "Douglas Wu", email = "wckdouglas@gmail.com"}]
dependencies = [
"scipy>=1.8.0",
"matplotlib>=3.8",
"more-itertools>=8.9.0",
"numpy>=1.21.1",
"pandas>=2.2.2"
]
description = "Plotting ridgeplots with matplotlib"
dynamic = ["version"]
license = "MIT"
name = "ridgeplot-py"
readme = "README.md"
requires-python = ">= 3.9"
[tool.coverage.run]
relative_files = true
source_pkgs = ["ridgeplot"]
[tool.hatch.build.targets.wheel]
packages = ["src/ridgeplot"]
[tool.hatch.version]
source = "versioningit"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ['E', 'F', 'W', 'I']
[tool.rye]
[tool.rye.scripts]
check = {chain = ["format", "lint", "type", "test"]}
format = "ruff format src/ test/"
lint = "ruff check"
test = "pytest -l -rPap -vvv -p no:warnings --cov "
type = "ty check src/ridgeplot"
[tool.versioningit]
default-version = "0.0.0+unknown"
[tool.versioningit.format]
dirty = "{version}+dirty"
distance = "{next_version}"
distance-dirty = "{next_version}.dev{distance}+{vcs}{rev}.dirty"
[tool.versioningit.next-version]
method = "smallest"