-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 1.15 KB
/
pyproject.toml
File metadata and controls
59 lines (51 loc) · 1.15 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
[project]
name = "goshape"
version = "0.2.0"
description = "Shape Habits Analysis and Personalized Evaluation"
authors = [{name = "Sander Land"}]
readme = "README.md"
requires-python = ">=3.10,<3.14"
dependencies = [
"PySide6>=6.5.0",
"pysgf>=0.9.0",
"numpy>=2.1.2",
"httpx>=0.25.0",
"matplotlib>=3.5.0",
]
[dependency-groups]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
]
[project.scripts]
goshape = "shape.main:main"
shape = "shape.main:main"
[tool.hatch.build.targets.wheel]
packages = ["shape"]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by formatter
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.vulture]
ignore_names = ["paintEvent", "keyPressEvent", "mousePressEvent"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"