-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
64 lines (56 loc) · 1.37 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
[tool.poetry]
name = "afidsvalidator"
version = "1.3.2"
description = "Anatomical fiducials (AFIDs) validator for user placed markups"
authors = [
"Jason Kai <kaitj>",
"Tristan Kuehn <tkkuehn>",
"Olivia Stanley <ostanley>",
"AFIDs contributors",
]
license = "GPL-3.0"
include = ["afidsvalidator/afids-templates/human/*"]
packages = [{ include = "afidsvalidator" }, { include = "migrations" }]
[tool.poetry.dependencies]
python = ">=3.8, <3.12"
blinker = "^1.4"
Flask = "^3.0"
Flask-Migrate = "^4.0"
Flask-Script = "^2.0"
Flask-Login = "^0.6"
Flask-Dance = "^7.0"
SQLAlchemy = "^2.0"
gunicorn = "^21.0"
numpy = "^1.24"
plotly = "^4.12"
psycopg2-binary = "^2.8"
python-dotenv = "^1.0"
werkzeug = "^3.0"
WTForms = "^3.1"
uwsgi = { version = "^2.0", optional = true }
[tool.poetry.group.dev.dependencies]
black = "^23.10"
isort = "^5.10"
pre-commit = "^3.5"
poethepoet = "^0.24"
fabric = "^3.2"
ruff = "^0.1.3"
[tool.poetry.extras]
deploy = ["uwsgi"]
[tool.poe.tasks]
setup = "pre-commit install"
isort = "isort afidsvalidator test"
black = "black afidsvalidator test -l 79"
ruff = "ruff --fix afidsvalidator test"
quality = ["ruff", "isort", "black"]
test = "python -m unittest"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
[tool.isort]
profile = "black"
line_length = 79
[tool.ruff]
line-length = 79