-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (68 loc) · 1.6 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
[tool.poetry]
name = "search_server"
version = "v1.0.5"
description = "MuscatPlus Search Server"
authors = ["Andrew Hankinson <[email protected]>"]
license = "MIT"
package-mode = false
[tool.poetry.dependencies]
python = "^3.11"
pyyaml = "^6.0.1"
rdflib = "^7.0.0"
Jinja2 = "^3.1.2"
orjson = "^3.9.15"
verovio = { version = "^4.2.0", allow-prereleases = true }
aiohttp = {extras = ["speedups"], version = "^3.8.5"}
small-asc = {git = "https://github.com/rism-digital/small-asc.git", rev = "main"}
#small-asc = {path = "../small-asc", develop = true }
ypres = {git = "https://github.com/rism-digital/ypres.git", rev = "main"}
sanic = "^24.0.0"
luqum = "^0.13.0"
sentry-sdk = {extras = ["sanic"], version = "^2.19.0"}
[tool.poetry.dev-dependencies]
ipython = "^8.31.0"
pytest = "^8.0.0"
pytest-cov = "^6.0.0"
aiofiles = "^24.0.0"
[tool.poetry.group.dev.dependencies]
deptry = "^0.13.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.masonry.api"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[[tool.poetry.source]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
priority = "supplemental"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# pycodestyle warnings
"W",
# Pyflakes
"F",
# pyupgrade
## Flake8 plugins
"UP",
# flake8-bugbear
"B",
# flake8-comprehensions
"C",
# flake8-django
"DJ",
# flake8-bandit
"S",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = [
# Ignore Pycodestyle line-length warnings, (mainly long comments).
"E501",
# Ignore McCabe complexity (for now).
"C901",
]