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