halig/pyproject.toml
2023-04-03 18:40:11 +02:00

70 lines
1.5 KiB
TOML

[tool.pdm.build]
includes = []
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
authors = [
{ name = "cătălin", email = "185504a9@duck.com" },
]
requires-python = ">=3.10"
dependencies = [
"typer<1.0.0,>=0.6.1",
"rich>=13.3.3",
"pydantic>=1.10.7",
"pyyaml>=6.0",
"pyrage>=1.0.3",
"pendulum>=2.1.2",
]
name = "halig"
version = "0.1.2"
description = "age-encrypted, file-based, note-taking CLI app"
readme = "README.md"
[project.scripts]
halig = "halig.main:app"
[project.optional-dependencies]
testing = [
"pytest>=7.2.2",
"pytest-cov>=4.0.0",
"pyfakefs>=5.1.0",
"pytest-clarity>=1.0.1",
"pytest-reportlog>=0.2.1",
"pytest-duration-insights>=0.1.1",
"pytest-pretty>=1.1.1",
"pytest-mock>=3.10.0",
"mock>=5.0.1",
]
linting = [
"black>=23.3.0",
"ruff>=0.0.260",
"pyright>=1.1.301",
"mypy>=1.1.1",
"types-PyYAML>=6.0.12.9",
]
[tool.pytest]
mock_use_standalone_module = true
[tool.pyright]
reportMissingImports = false
reportMissingTypeStubs = false
[tool.ruff]
extend-select = ["W", "C90", "I", "N", "UP", "S", "BLE", "FBT", "B", "A", "COM", "C4", "DTZ", "T10", "EM", "ISC", "T20", "PT", "RSE", "RET", "SIM", "PTH", "ERA", "PGH", "PL", "TRY", "RUF"]
extend-ignore = ["S101", "ISC002"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
[[tool.mypy.overrides]]
module = [
"pyrage",
"pyrage.ssh",
"pyrage.x25519",
]
ignore_missing_imports = true