Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (89 loc) · 2.22 KB
/
Copy pathpyproject.toml
File metadata and controls
102 lines (89 loc) · 2.22 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[project]
name = "garth"
dynamic = ["version"]
description = "Garmin SSO auth + Connect client"
authors = [
{name = "Matin Tamizi", email = "mtamizi@duck.com"},
]
dependencies = [
"requests>=2.0.0,<3.0.0",
"pydantic>=2.0.0,<3.0.0",
"pydantic-settings>=2.0.0,<3.0.0",
"requests-oauthlib>=1.3.1,<3.0.0",
"logfire>=2.11,<5.0",
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Development Status :: 7 - Inactive",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: OS Independent",
]
keywords = ["garmin", "garmin api", "garmin connect", "garmin sso"]
[project.urls]
"Homepage" = "https://github.com/matin/garth"
"Documentation" = "https://garth.readthedocs.io"
"Repository" = "https://github.com/matin/garth"
"Issues" = "https://github.com/matin/garth/issues"
"Changelog" = "https://github.com/matin/garth/releases"
[project.optional-dependencies]
docs = [
"zensical",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/garth/version.py"
[tool.pytest.ini_options]
addopts = "--ignore=__pypackages__ --ignore-glob=*.yaml"
[tool.ty.src]
include = ["src"]
[tool.ty.rules]
invalid-method-override = "warn"
[tool.ruff]
line-length = 79
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
ignore = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[dependency-groups]
dev = [
"ipython",
"ipdb",
"ipykernel",
"pandas",
"matplotlib",
]
linting = [
"ruff",
"ty",
]
testing = [
"coverage",
"freezegun",
"pytest",
"pytest-vcr",
"logfire>=2.11,<5.0",
]
[tool.ruff.lint.isort]
known-first-party = ["garth"]
combine-as-imports = true
lines-after-imports = 2
[project.scripts]
garth = "garth.cli:main"