forked from openwallet-foundation/acapy-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (78 loc) · 2.02 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (78 loc) · 2.02 KB
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
[tool.poetry]
name = "webvh"
version = "0.1.0"
description = ""
authors = []
[tool.poetry.dependencies]
python = "^3.12"
# Define ACA-Py as an optional/extra dependency so it can be
# explicitly installed with the plugin if desired.
acapy-agent = { version = "~1.3.1", optional = true }
did-webvh = "1.0.0rc0"
jcs = "^0.2.1"
multiformats = "^0.3.1.post4"
bitstring = "^4.3.0"
aries-askar = "^0.4.3"
[tool.poetry.extras]
aca-py = ["acapy-agent"]
[tool.poetry.group.dev.dependencies]
ruff = "0.12.8"
pytest = ">=8.3.5,<10.0.0"
pytest-asyncio = "^1.1.0"
pytest-cov = "^5.0.0"
pytest-ruff = "^0.4.1"
[tool.poetry.group.integration.dependencies]
aries-askar = { version = "~0.4.3" }
indy-credx = { version = "~1.1.1" }
indy-vdr = { version = "~0.4.1" }
python3-indy = { version = "^1.11.1" }
anoncreds = { version = "0.2.0" }
[tool.ruff]
line-length = 90
[tool.ruff.lint]
select = ["E", "F", "C", "D"]
ignore = [
# Google Python Doc Style
"D203",
"D204",
"D213",
"D215",
"D400",
"D401",
"D404",
"D406",
"D407",
"D408",
"D409",
"D413",
"D202", # Allow blank line after docstring
"D104", # Don't require docstring in public package
# Things that we should fix, but are too much work right now
"C901",
]
[tool.ruff.lint.per-file-ignores]
"**/{tests}/*" = ["F841", "D", "E501"]
"**/{demo}/*" = ["F841", "D", "E501"]
[tool.pytest.ini_options]
testpaths = "webvh"
addopts = """
-p no:warnings
--quiet --junitxml=./.test-reports/junit.xml
--cov-config .coveragerc --cov=webvh --cov-report term --cov-report xml
"""
markers = []
junit_family = "xunit1"
asyncio_mode = "auto"
[tool.coverage.run]
omit = ["*/tests/*", "docker/*", "integration/*", "*/definition.py"]
data_file = ".test-reports/.coverage"
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "@abstract"]
precision = 2
skip_covered = true
show_missing = true
[tool.coverage.xml]
output = ".test-reports/coverage.xml"
[build-system]
requires = ["setuptools", "poetry-core>=2.1"]
build-backend = "poetry.core.masonry.api"