-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
pyproject.toml
100 lines (92 loc) · 2.03 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
[tool.coverage.run]
omit = [
"ambuda/scripts/*",
"ambuda/seed/**",
]
[tool.poetry]
name = "ambuda"
version = "0.1.0"
description = "An open Sanskrit library"
authors = ["Arun Prasad"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
alembic = "1.8.0"
amqp = "5.1.1"
Babel = "^2.12"
"backports.functools-lru-cache" = "1.6.4"
bcrypt = "4.0.0"
celery = "5.2.7"
click = "8.1.3"
conllu = "4.5.2"
email-validator = "1.2.1"
fabric = "2.7.0"
Flask = "2.1.2"
Flask-Admin = "1.6.0"
Flask-Babel = "3.0.1"
Flask-Bcrypt = "1.0.1"
Flask-Login = "0.6.1"
Flask-Mail = "0.9.1"
Flask-WTF = "1.0.1"
google-api-core = "2.8.2"
google-auth = "2.9.0"
google-cloud-vision = "3.1.1"
googleapis-common-protos = "1.56.3"
greenlet = "1.1.2"
gunicorn = "20.1.0"
indic-transliteration = "2.3.31"
Jinja2 = "3.1.2"
kombu = "5.2.4"
linkify-it-py = "2.0.0"
lxml = "4.9.1"
Mako = "1.2.2"
markdown-it-py = "2.1.0"
MarkupSafe = "2.1.1"
mypy-extensions = "0.4.3"
Pillow = "9.1.1"
PyMuPDF = "1.20.2"
python-dateutil = "2.8.2"
python-dotenv = "0.20.0"
python-slugify = "6.1.2"
pytz = "2022.7.0"
redis = "4.3.4"
regex = "2022.6.2"
requests = "2.27.1"
sentry-sdk = "1.6.0"
SQLAlchemy = "1.4.37"
Werkzeug = "2.1.2"
WTForms = "3.0.1"
wtforms-sqlalchemy = "^0.3"
[tool.poetry.dev-dependencies]
# Unit tests
pytest = "^7.1.2"
pytest-cov = "4.0.0"
# Linting / formatting
black = "^22.3.0"
ruff = "0.0.260"
# Documentation
Sphinx = "5.0.2"
sphinx-rtd-theme = "1.0.0"
sphinxcontrib-applehelp = "1.0.2"
sphinxcontrib-devhelp = "1.0.2"
sphinxcontrib-htmlhelp = "2.0.0"
sphinxcontrib-jsmath = "1.0.1"
sphinxcontrib-qthelp = "1.0.3"
sphinxcontrib-serializinghtml = "1.1.5"
[build-system]
requires = ["poetry-core", "freetype"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
# https://beta.ruff.rs/docs/rules/
select = [
"B", # flake8-bugbear
"F", # pyflakes
"N818", # error-suffix-on-exception-name
"UP", # pyupgrade
"W", # pycodestyle
"I001", # isort
]
ignore = [
"B007", # unused-loop-control-variable
"B905" # zip-without-explicit-strict
]