Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (59 loc) · 1.47 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (59 loc) · 1.47 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
68
69
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "SkiLoadLab"
version = "0.1.2"
description = "Training load modeling for downhill skiing (Polar HR + GPX + DEM)."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Yangchenxi Wu" }]
dependencies = [
"numpy",
"pandas",
"matplotlib",
"PyYAML",
]
[project.optional-dependencies]
geo = [
"rasterio",
]
dev = [
"pytest",
"ruff",
"black",
"mypy",
]
[project.scripts]
skiloadlab-combine = "skiloadlab.cli.combine:main"
skiloadlab-alpha-sweep = "skiloadlab.cli.alpha_sweep:main"
skiloadlab-make-figures = "skiloadlab.cli.make_figures:main"
skiloadlab-compare-analysis = "skiloadlab.cli.compare_analysis:main"
[tool.setuptools.packages.find]
include = ["skiloadlab*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
pythonpath = ["src", "."]
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.ruff]
line-length = 100
target-version = "py310"
extend-exclude = ["output", "data/raw", "data/processed", "data/external"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["skiloadlab"]
combine-as-imports = true
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
mypy_path = ["src", "."]
exclude = "(^output/|^data/raw/|^data/processed/|^data/external/)"