-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
60 lines (51 loc) · 1.47 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
[tool.poetry]
name = "pydid"
version = "0.5.1"
description = "Python library for validating, constructing, and representing DIDs and DID Documents"
authors = ["Daniel Bluhm <[email protected]>"]
license = "Apache 2.0"
readme = "README.md"
homepage = "https://github.com/Indicio-tech/pydid"
repository = "https://github.com/Indicio-tech/pydid"
keywords = [
"decentralized", "identity", "ssi", "DID", "DID Document"
]
[build-system]
requires = ["setuptools", "poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.9.0"
pydantic = "^2.7.0"
typing-extensions = "^4.7.0"
inflection = "^0.5.1"
[tool.poetry.dev-dependencies]
pytest = "^8.3.3"
poetry = "^1.8.4"
pre-commit = "^4.0.1"
ruff = "^0.7.2"
pytest-coverage = "^0.0"
aiohttp = "^3.10.10"
pytest-asyncio = "^0.24.0"
coverage = {extras = ["toml"], version = "^7.6.4"}
[tool.pytest.ini_options]
addopts = "-p no:warnings --cov pydid --doctest-modules"
markers = "int: integration tests"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@abstract"
]
precision = 2
show_missing = true
[tool.ruff]
lint.select = ["E", "F", "C", "D"]
lint.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
]
line-length = 90
[tool.ruff.lint.per-file-ignores]
"**/{tests}/*" = ["F841", "D", "E501"]