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
87 lines (73 loc) · 2.08 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (73 loc) · 2.08 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
[tool.poetry]
name = "basicmessage_storage"
version = "0.1.0"
description = " (Supported aries-cloudagent version: 0.12.2) "
authors = ["Jason Sherman <tools@usingtechnolo.gy>"]
[tool.poetry.dependencies]
python = "^3.9"
# Define ACA-Py as an optional/extra dependancy so it can be
# explicitly installed with the plugin if desired.
aries-cloudagent = { version = ">=0.10.3, < 1.0.0", optional = true }
mergedeep = "^1.3.4"
[tool.poetry.extras]
aca-py = ["aries-cloudagent"]
[tool.poetry.dev-dependencies]
ruff = "^0.5.4"
black = "~24.4.2"
pytest = "^8.3.1"
pytest-asyncio = "^0.23.8"
pytest-cov = "^5.0.0"
pytest-ruff = "^0.4.1"
[tool.poetry.group.integration.dependencies]
aries-askar = { version = "~0.3.0" }
indy-credx = { version = "~1.1.1" }
indy-vdr = { version = "~0.4.1" }
ursa-bbs-signatures = { version = "~1.0.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
"D417", "C901",
]
[tool.ruff.per-file-ignores]
"**/{tests}/*" = ["F841", "D", "E501"]
[tool.pytest.ini_options]
testpaths = "basicmessage_storage"
addopts = """
-p no:warnings
--quiet --junitxml=./.test-reports/junit.xml
--cov-config .coveragerc --cov=basicmessage_storage --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>=1.2"]
build-backend = "poetry.core.masonry.api"