-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (58 loc) · 1.38 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
70
[tool.poetry]
name = "garmin-to-fittrackee"
version = "0.7.0"
description = "A simple script to synchronize garmin to fittrackee. Inspired by https://github.com/jat255/strava-to-fittrackee"
authors = ["Dryusdan <[email protected]>"]
license = "GPL-3"
readme = "README.md"
packages = [{include = "garmin_to_fittrackee"}]
[tool.poetry.scripts]
garmin2fittrackee = "garmin_to_fittrackee.main:app"
[tool.poetry.dependencies]
python = "^3.10"
typer = {extras = ["all"], version = "^0.12.5"}
garminconnect = "^0.2.19"
pendulum = "^3.0.0"
pyyaml = "^6.0.2"
requests = "^2.32.3"
requests-oauthlib = "^1.3.1"
packaging = "^24.1"
[tool.poetry.group.dev.dependencies]
ruff = "^0.1.11"
isort = "^5.13.2"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.4"
pytest-mock = "^3.14.0"
requests-mock = "^1.12.1"
pytest-cov = "^4.1.0"
coverage = {extras = ["toml"], version = "^7.6.1"}
[[tool.poetry.source]]
name = "gitea"
url = "https://git.dryusdan.fr/api/packages/Dryusdan/pypi"
priority = "supplemental"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.ruff.format]
docstring-code-format = true
[tool.coverage.run]
omit = [
"tests/*",
]
[tool.coverage.report]
fail_under = 90