-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
107 lines (100 loc) · 2.09 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
106
107
[project]
name = "gsrest"
version = "1.9.5"
description = "GraphSense API REST API"
readme = "README.md"
changelog = "CHANGELOG.md"
licence = "LICENSE"
keywords = ["OpenAPI", "GraphSense API"]
requires-python = ">=3.10"
url = 'https://github.com/graphsense/graphsense-REST/'
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"aiohttp-cors>=0.7.0",
"aiohttp-jinja2>=1.5.0",
"async-lru>=2.0.4",
"base58>=2.1",
"cashaddress>=1.0.6,<1.1",
"cassandra-driver>=3.27.0",
"connexion[swagger-ui]>=2.6.0,<3.0",
"eth-event>=1.2.3",
"lz4>=4.3.2",
"openapi-schema-validator>=0.2.3",
"python-dateutil>=2.9.0",
"swagger-ui-bundle>=0.0.9",
"tagpack-tool==25.1.3",
]
[tool.tox]
legacy_tox_ini = """
[tox]
skipsdist=True
envlist = py310,py311,py312
;requires=tox-venv
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
[testenv]
runner = uv-venv-lock-runner
uv_sync_flags=--python={env_python}
passenv=*
commands=
pytest -x -rx -vv --cov=openapi_server
"""
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
"openapi_server",
"tests/test_*.py",
"setup.py"
]
[tool.ruff.lint]
extend-select = ["T201"]
[dependency-groups]
dev = [
"aiohttp-devtools>=1.1.2",
"gunicorn>=23.0.0",
"pre-commit>=4.0.1",
"pytest-aiohttp>=1.0.5",
"pytest-cov>=6.0.0",
"pytest-icdiff>=0.9",
"pytest>=8.3.4",
"ruff>=0.8.1",
"testcontainers[cassandra,postgres]>=4.8.2",
"tox-uv>=1.16.0",
"tox>=4.23.2",
]