Update dependencies
This commit is contained in:
@ -13,6 +13,7 @@ dependencies = [
|
||||
"httpx>=0.28.1",
|
||||
"pydantic>=2.10.6",
|
||||
"python-dotenv>=1.0.1",
|
||||
"rich>=14.0.0",
|
||||
"sshecret",
|
||||
]
|
||||
|
||||
|
||||
@ -4,7 +4,6 @@ Register arguments here.
|
||||
"""
|
||||
|
||||
import logging
|
||||
import textwrap
|
||||
from typing import cast, final, override
|
||||
|
||||
import asyncssh
|
||||
|
||||
@ -32,7 +32,9 @@ class ListSecrets(CommandDispatcher):
|
||||
|
||||
async def list_secrets(self) -> None:
|
||||
"""List secrets."""
|
||||
self.rich_print_line(f"Available secrets for client {self.client.name}", ["bold"], rule=True)
|
||||
self.rich_print_line(
|
||||
f"Available secrets for client {self.client.name}", ["bold"], rule=True
|
||||
)
|
||||
await self.audit(Operation.READ, "Listed available secret names")
|
||||
for secret_name in self.client.secrets:
|
||||
self.print(f" - {secret_name}")
|
||||
|
||||
@ -17,4 +17,6 @@ ERROR_INFO_REMOTE_IP_GONE = (
|
||||
ERROR_GENERIC_ERROR = "An unexpected error occured"
|
||||
ERROR_UNAUTHORIZED = "Denied due to policy or configuration"
|
||||
|
||||
ERROR_REGISTRATION_NOT_ALLOWED = "Received registration command from unauthorized source."
|
||||
ERROR_REGISTRATION_NOT_ALLOWED = (
|
||||
"Received registration command from unauthorized source."
|
||||
)
|
||||
|
||||
@ -2,12 +2,12 @@
|
||||
fmt = "ruff format ${PWD}"
|
||||
lint = "ruff check --fix ${PWD}"
|
||||
check = "basedpyright ${PWD}"
|
||||
test = "pytest ${PWD}"
|
||||
test = "pytest ${PWD} --alluredir allure-results --driver chrome"
|
||||
all = [ {ref="fmt"}, {ref="lint"}, {ref="check"}, {ref="test"} ]
|
||||
"ci:fmt" = "ruff format --check ${PWD}" # fail if not formatted
|
||||
"ci:lint" = "ruff check ${PWD}"
|
||||
[tool.poe.tasks.coverage]
|
||||
cmd = "pytest --ignore tests/integration/frontend --cov-config=${PWD}/.coveragerc --cov --cov-report=html --cov-report=term-missing --alluredir allure-results"
|
||||
cmd = "pytest --ignore ${POE_PWD}/tests/integration/frontend --cov-config=${PWD}/.coveragerc --cov --cov-report=html --cov-report=term-missing --alluredir allure-results"
|
||||
cwd = "${POE_PWD}"
|
||||
|
||||
|
||||
|
||||
2
uv.lock
generated
2
uv.lock
generated
@ -1283,6 +1283,7 @@ dependencies = [
|
||||
{ name = "httpx" },
|
||||
{ name = "pydantic" },
|
||||
{ name = "python-dotenv" },
|
||||
{ name = "rich" },
|
||||
{ name = "sshecret" },
|
||||
]
|
||||
|
||||
@ -1293,6 +1294,7 @@ requires-dist = [
|
||||
{ name = "httpx", specifier = ">=0.28.1" },
|
||||
{ name = "pydantic", specifier = ">=2.10.6" },
|
||||
{ name = "python-dotenv", specifier = ">=1.0.1" },
|
||||
{ name = "rich", specifier = ">=14.0.0" },
|
||||
{ name = "sshecret", editable = "." },
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user