tests: test commands
This commit is contained in:
parent
d3ad87211e
commit
570c29d9f1
16 changed files with 235 additions and 52 deletions
|
|
@ -1,5 +1,6 @@
|
|||
[tool.pdm.build]
|
||||
includes = []
|
||||
|
||||
[build-system]
|
||||
requires = ["pdm-backend"]
|
||||
build-backend = "pdm.backend"
|
||||
|
|
@ -19,9 +20,10 @@ dependencies = [
|
|||
"pendulum>=2.1.2",
|
||||
]
|
||||
name = "halig"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
description = "age-encrypted, file-based, note-taking CLI app"
|
||||
readme = "README.md"
|
||||
|
||||
[project.scripts]
|
||||
halig = "halig.main:app"
|
||||
|
||||
|
|
@ -34,6 +36,8 @@ testing = [
|
|||
"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",
|
||||
|
|
@ -41,11 +45,9 @@ linting = [
|
|||
"pyright>=1.1.301",
|
||||
"mypy>=1.1.1",
|
||||
"types-PyYAML>=6.0.12.9",
|
||||
"pyrage-stubs>=1.0.1",
|
||||
]
|
||||
linters = [
|
||||
"pyrage-stubs>=1.0.1",
|
||||
]
|
||||
[tool.pytest]
|
||||
mock_use_standalone_module = true
|
||||
|
||||
[tool.pyright]
|
||||
reportMissingImports = false
|
||||
|
|
@ -63,5 +65,6 @@ warn_unused_configs = true
|
|||
module = [
|
||||
"pyrage",
|
||||
"pyrage.ssh",
|
||||
"pyrage.x25519",
|
||||
]
|
||||
ignore_missing_imports = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue