-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
69 lines (62 loc) · 1.48 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
62
63
64
65
66
67
68
69
[project]
name = "strava_calendar"
version = "0.1.0"
description = "Visualizations of your Strava data"
authors = [
{name = "Colin Carroll", email = "[email protected]"},
]
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"fitparse",
"matplotlib",
"numpy",
"tqdm",
"gpxpy",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytype>=2024.1.24",
"ruff>=0.1.0",
]
[project.urls]
Homepage = "https://github.com/ColCarroll/strava_calendar"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["strava_calendar"]
include-package-data = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --cov=strava_calendar"
testpaths = ["strava_calendar"]
python_files = ["test_*.py"]
[tool.ruff]
line-length = 88
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"N", # naming
"UP", # pyupgrade
"I", # isort
"NPY", # numpy-specific rules
]
[tool.pytype]
inputs = ["strava_calendar"]
keep_going = true
strict_import = true
protocols = true