71 lines
1.5 KiB
TOML
71 lines
1.5 KiB
TOML
# SPDX-License-Identifier: MIT
|
|
#
|
|
# SPDX-Copyright-Text: © 2017 PySSB contributors (see AUTHORS for more details)
|
|
[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"
|
|
include = ["ssb/py.typed"]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.9"
|
|
PyNaCl = "^1.1.0"
|
|
PyYAML = "^6.0.1"
|
|
secret-handshake = { version = "0.1.0.dev3", allow-prereleases = true }
|
|
simplejson = "3.16.0"
|
|
colorlog = "^6.7.0"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
black = "^23.10.1"
|
|
check-manifest = "^0.39"
|
|
commitizen = "^3.12.0"
|
|
coverage = "^7.3.2"
|
|
isort = "^5.12.0"
|
|
mypy = "^1.6.1"
|
|
pep257 = "^0.7.0"
|
|
pylint = "^3.0.2"
|
|
pytest = "^7.4.3"
|
|
pytest-asyncio = "^0.21.1"
|
|
pytest-cov = "^4.1.0"
|
|
pytest-mock = "^3.12.0"
|
|
types-pyyaml = "^6.0.12.12"
|
|
types-simplejson = "^3.19.0.2"
|
|
|
|
[tool.poetry.group.docs.dependencies]
|
|
Sphinx = "^2.1.1"
|
|
|
|
[tool.black]
|
|
line-length = 120
|
|
|
|
[tool.coverage.run]
|
|
branch = true
|
|
|
|
[tool.coverage.report]
|
|
show_missing = true
|
|
skip_covered = true
|
|
fail_under = 70
|
|
omit = ["examples/*"]
|
|
|
|
[tool.isort]
|
|
force_sort_within_sections = true
|
|
line_length = 120
|
|
profile = "black"
|
|
|
|
[tool.pylint.messages_control]
|
|
enable = ["all"]
|
|
disable = ["locally-disabled", "suppressed-message"]
|
|
|
|
[tool.pylint.format]
|
|
max-line-length = 120
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = ["--cov=.", "--no-cov-on-fail"]
|
|
python_files = ["tests/test_*.py"]
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|