2023-10-31 06:31:59 +00:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
#
|
|
|
|
# SPDX-Copyright-Text: © 2017 PySecretHandshake contributors (see AUTHORS for more details)
|
2023-10-29 07:48:07 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "secret-handshake"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "A module that implements Secret Handshake"
|
|
|
|
authors = ["Pedro Ferreira <pedro@dete.st>"]
|
|
|
|
license = "MIT"
|
|
|
|
readme = "README.rst"
|
|
|
|
packages = [{include = "secret_handshake"}]
|
2023-10-30 04:47:28 +00:00
|
|
|
include = ["secret_handshake/py.typed"]
|
2023-10-29 07:48:07 +00:00
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.12"
|
|
|
|
PyNaCl = "^1.5.0"
|
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
|
|
check-manifest = "^0.49"
|
|
|
|
coverage = "^7.3.2"
|
|
|
|
isort = "^5.12.0"
|
|
|
|
pydocstyle = "^6.3.0"
|
|
|
|
pytest-cov = "^4.1.0"
|
|
|
|
pytest = "^7.4.3"
|
|
|
|
pytest-asyncio = "^0.21.1"
|
|
|
|
pytest-mock = "^3.12.0"
|
2023-10-31 05:11:50 +00:00
|
|
|
pre-commit = "^3.5.0"
|
|
|
|
commitizen = "^3.12.0"
|
2023-10-29 08:47:57 +00:00
|
|
|
black = "^23.10.1"
|
2023-10-29 08:55:39 +00:00
|
|
|
pylint = "^3.0.2"
|
2023-10-30 04:47:28 +00:00
|
|
|
mypy = "^1.6.1"
|
|
|
|
types-pyyaml = "^6.0.12.12"
|
2023-10-31 06:31:59 +00:00
|
|
|
reuse = "^2.1.0"
|
2023-10-29 07:48:07 +00:00
|
|
|
|
|
|
|
[tool.poetry.group.docs.dependencies]
|
|
|
|
sphinx = "^7.2.6"
|
|
|
|
|
2023-10-29 08:55:39 +00:00
|
|
|
[tool.poetry.group.examples.dependencies]
|
|
|
|
pyyaml = "^6.0.1"
|
|
|
|
|
2023-10-29 08:47:57 +00:00
|
|
|
[tool.black]
|
|
|
|
line-length = 120
|
|
|
|
|
2023-10-31 05:11:50 +00:00
|
|
|
[tool.commitizen]
|
|
|
|
name = "cz_conventional_commits"
|
|
|
|
tag_format = "$version"
|
|
|
|
version_scheme = "pep440"
|
|
|
|
version_provider = "poetry"
|
|
|
|
update_changelog_on_bump = true
|
|
|
|
major_version_zero = true
|
|
|
|
|
2023-10-30 06:30:26 +00:00
|
|
|
[tool.coverage.run]
|
|
|
|
branch = true
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
|
|
show_missing = true
|
|
|
|
skip_covered = true
|
|
|
|
fail_under = 91
|
|
|
|
omit = ["examples/*"]
|
|
|
|
|
2023-10-29 09:47:21 +00:00
|
|
|
[tool.isort]
|
|
|
|
force_sort_within_sections = true
|
|
|
|
line_length = 100
|
|
|
|
profile = "black"
|
|
|
|
|
2023-10-29 08:55:39 +00:00
|
|
|
[tool.pylint.format]
|
|
|
|
max-line-length = 120
|
|
|
|
|
2023-10-30 06:30:26 +00:00
|
|
|
[tool.pytest.ini_options]
|
|
|
|
addopts = "--cov=. --no-cov-on-fail"
|
2023-10-31 04:59:42 +00:00
|
|
|
asyncio_mode = "auto"
|
2023-10-30 06:30:26 +00:00
|
|
|
ignore = "examples"
|
|
|
|
|
2023-10-29 07:48:07 +00:00
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|