-
Notifications
You must be signed in to change notification settings - Fork 46
/
pyproject.toml
105 lines (96 loc) · 2.63 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
99
100
101
102
103
104
105
[tool.poetry]
name = "fittrackee"
version = "0.8.12"
description = "Self-hosted outdoor workout/activity tracker"
authors = ["SamR1"]
license = "AGPL-3.0-only"
readme = "README.md"
homepage = "https://github.com/SamR1/FitTrackee"
documentation = "https://samr1.github.io/FitTrackee"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Flask",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: JavaScript"
]
exclude = ["fittrackee/tests"]
[tool.poetry.dependencies]
python = "^3.9"
authlib = "=1.3.2"
babel = "^2.11.0"
click = "^8.1.7"
dramatiq = {version = "^1.15.0", extras = ["redis"]}
flask = "^3.1.0"
flask-bcrypt = "^1.0.1"
flask-dramatiq = "^0.6.0"
flask-limiter = {version = "^3.8.0", extras = ["redis"]}
flask-migrate = "4.0.7"
flask-sqlalchemy = "3.0.5"
gpxpy = "=1.6.2"
gunicorn = "^23.0.0"
humanize = "^4.11.0"
psycopg2-binary = "^2.9.10"
pyjwt = "^2.10.0"
pyopenssl = "^24.2.1"
pytz = "^2024.2"
shortuuid = "^1.0.13"
staticmap = "^0.5.7"
sqlalchemy = "=1.4.54"
ua-parser = "^0.18.0"
[tool.poetry.group.dev.dependencies]
bandit = "^1.7.10"
furo = "^2024.8.6"
mypy = "^1.13.0"
pytest = "^8.3.3"
pytest-cov = "^6.0.0"
pytest-html = "^4.1.1"
pytest-runner = "^6.0.1"
pytest-selenium = "^4.1.0"
pytest-xdist = {extras = ["psutil"], version = "^3.6.0"}
recommonmark = "^0.7.1"
ruff = "^0.7.4"
selenium = "4.25.0"
sphinx = "^7.4.7"
sphinx-copybutton = "^0.5.2"
sphinx-intl = "^2.3.0"
sphinxcontrib-httpdomain = "^1.8.1"
time-machine = "^2.16.0"
types-freezegun = "^1.1"
types-pytz = "^2024.2"
types-redis = "^4.6"
types-requests = "^2.32"
[tool.poetry.scripts]
fittrackee = 'fittrackee.__main__:main'
ftcli = 'fittrackee.cli:cli'
[tool.ruff]
line-length = 79
exclude = ["fittrackee/migrations/*"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# isort
"I",
]
[tool.ruff.format]
quote-style = "preserve"
[tool.ruff.lint.per-file-ignores]
"fittrackee/activities/stats.py" = ["E501"]
"fittrackee/application/app_config.py" = ["E501"]
"fittrackee/tests/test_email.py" = ["E501"]
"fittrackee/tests/test_email_template_password_request.py" = ["E501"]
[tool.bandit]
exclude_dirs = ["fittrackee/tests/*", "fittrackee/migrations/*"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"