This repository has been archived by the owner on Jan 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
98 lines (92 loc) · 2.4 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
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
[tool.poetry]
name = "workoutizer"
version = "0.25.1"
description = "🏋️ Browser based Sport and Workout Organizer 🏃♀️"
authors = ["Fabian Gebhart"]
repository = "https://github.com/fgebhart/workoutizer"
readme = "Readme.md"
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Framework :: Django",
]
packages = [
{ include = "wkz" },
{ include = "workoutizer" },
{ include = "tracks" },
{ include = "media" },
{ include = "pyproject.toml" },
]
[tool.poetry.scripts]
wkz = "workoutizer.cli:wkz"
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
Jinja2 = ">=3.0.3,<3.1.0" # pinned because of bokeh failing with "ImportError: cannot import name 'Markup' from 'jinja2'"
bokeh = "1.4.0" # pinned due to CustomJS "use_strict" mode, will break my CustomJS
channels = "^3.0.4"
coloredlogs = "^15.0.1"
click = "^8.0.4"
django = "^4.0.6"
django-colorfield = "^0.6.3"
django-eventstream = "^4.4.0"
djangorestframework = "^3.13.1"
fitparse = "^1.2.0"
geopy = "^2.1.0"
gpxpy = "^1.5.0"
huey = "^2.4.3"
luddite = "^1.0.2"
numpy = "^1.22.2"
pandas = "^1.4.1"
psutil = "^5.9.0"
sportgems = "^0.7.1" # starting from 0.7.0 supports Python3.10 while support for 3.7 was dropped
tenacity = "^8.0.1"
pyudev = "^0.23.2"
Pillow = "^9.1.1"
tomli = "^2.0.1"
haversine = "^2.5.1"
[tool.poetry.dev-dependencies]
# following three are pinned to avoid unexpected formatting changes,
# if upgrade, ensure to be in line with github action workflow and pre-commit hooks
black = "22.3.0"
flake8 = "4.0.1"
isort = "5.10.1"
ipdb = "^0.13.9"
ipython = "^7.29.0"
lxml = "^4.9.1"
pip-tools = "^6.4.0"
pre-commit = "^2.15.0"
pytest = "^6.2.5"
pytest-django = "^4.4.0"
pytest-xdist = "^2.4.0"
pytest-cov = "^3.0.0"
pytest-html = "^3.1.1"
selenium = "^4.1.2"
[tool.isort]
multi_line_output = 3
line_length = 121
include_trailing_comma = true
[tool.black]
line-length = 121
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.tox
| \.venv
| wkz/migrations
| setup/other
| _build
| buck-out
| build
| dist
)/
)
'''