2023-11-13 12:34:43 +00:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
#
|
|
|
|
# SPDX-Copyright-Text: © 2017 PySSB contributors (see AUTHORS for more details)
|
2023-10-31 14:36:17 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "ssb"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "Secure Scuttlebutt library in Python"
|
|
|
|
authors = ["PyScuttleButt Contributors <pedro@dete.st>"]
|
|
|
|
license = "MIT"
|
|
|
|
readme = "README.rst"
|
2023-11-01 06:22:29 +00:00
|
|
|
include = ["ssb/py.typed"]
|
2023-10-31 14:36:17 +00:00
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.9"
|
|
|
|
PyNaCl = "^1.1.0"
|
2023-11-01 05:42:38 +00:00
|
|
|
PyYAML = "^6.0.1"
|
2023-10-31 14:36:17 +00:00
|
|
|
secret-handshake = { version = "0.1.0.dev3", allow-prereleases = true }
|
|
|
|
simplejson = "3.16.0"
|
|
|
|
colorlog = "^6.7.0"
|
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
2023-11-01 04:04:43 +00:00
|
|
|
black = "^23.10.1"
|
2023-10-31 14:36:17 +00:00
|
|
|
check-manifest = "^0.39"
|
2023-11-01 04:04:43 +00:00
|
|
|
commitizen = "^3.12.0"
|
2023-11-01 05:22:15 +00:00
|
|
|
coverage = "^7.3.2"
|
2023-11-14 04:00:03 +00:00
|
|
|
isort = "^5.12.0"
|
2023-11-01 06:22:29 +00:00
|
|
|
mypy = "^1.6.1"
|
2023-10-31 14:36:17 +00:00
|
|
|
pep257 = "^0.7.0"
|
2023-11-01 05:03:06 +00:00
|
|
|
pylint = "^3.0.2"
|
2023-11-01 05:22:15 +00:00
|
|
|
pytest = "^7.4.3"
|
|
|
|
pytest-asyncio = "^0.21.1"
|
|
|
|
pytest-cov = "^4.1.0"
|
|
|
|
pytest-mock = "^3.12.0"
|
2023-11-01 06:22:29 +00:00
|
|
|
types-pyyaml = "^6.0.12.12"
|
|
|
|
types-simplejson = "^3.19.0.2"
|
2023-10-31 14:36:17 +00:00
|
|
|
|
|
|
|
[tool.poetry.group.docs.dependencies]
|
|
|
|
Sphinx = "^2.1.1"
|
|
|
|
|
2023-11-01 04:04:43 +00:00
|
|
|
[tool.black]
|
|
|
|
line-length = 120
|
|
|
|
|
2023-11-01 05:22:15 +00:00
|
|
|
[tool.coverage.run]
|
|
|
|
branch = true
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
|
|
show_missing = true
|
|
|
|
skip_covered = true
|
|
|
|
fail_under = 70
|
|
|
|
omit = ["examples/*"]
|
|
|
|
|
2023-11-14 04:00:03 +00:00
|
|
|
[tool.isort]
|
|
|
|
force_sort_within_sections = true
|
|
|
|
line_length = 120
|
|
|
|
profile = "black"
|
|
|
|
|
2023-11-01 05:03:06 +00:00
|
|
|
[tool.pylint.format]
|
|
|
|
max-line-length = 120
|
|
|
|
|
2023-10-31 14:36:17 +00:00
|
|
|
[tool.pytest.ini_options]
|
2023-11-01 05:22:15 +00:00
|
|
|
addopts = ["--cov=.", "--no-cov-on-fail"]
|
2023-11-01 11:13:17 +00:00
|
|
|
python_files = ["tests/test_*.py"]
|
2023-10-31 14:36:17 +00:00
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|