Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [{ include = "robusta_krr" }]

[tool.black]
line-length = 120
target-version = ['py39']
target-version = ['py310', 'py311', 'py312']
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated

[tool.isort]
line_length = 120
Expand All @@ -23,16 +23,16 @@ plugins = "numpy.typing.mypy_plugin,pydantic.mypy"
krr = "robusta_krr.main:run"

[tool.poetry.dependencies]
python = ">=3.10,<=3.12.9"
typer = { extras = ["all"], version = "^0.7.0" }
python = ">=3.10,<3.14"
typer = { extras = ["all"], version = ">=0.9.0,<1" }
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
pydantic = "^1.10.7"
kubernetes = "^26.1.0"
prometheus-api-client = "0.5.3"
numpy = ">=1.26.4,<1.27.0"
numpy = ">=1.26.4,<3"
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
alive-progress = "^3.1.2"
prometrix = "0.2.11"
slack-sdk = "^3.21.3"
pandas = "2.2.2"
pandas = ">=2.2.3,<4"
requests = ">2.32.4"
pyyaml = "6.0.1"
typing-extensions = "4.6.0"
Expand Down
6 changes: 3 additions & 3 deletions robusta_krr/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def run_strategy(
),
show_severity: bool = typer.Option(
True,
" /--exclude-severity",
"--show-severity/--exclude-severity",
help="Whether to include the severity in the output or not",
rich_help_panel="Output Settings",
),
Expand Down Expand Up @@ -362,8 +362,8 @@ def run_strategy(
impersonate_user=impersonate_user,
impersonate_group=impersonate_group,
clusters="*" if all_clusters else clusters,
namespaces="*" if "*" in namespaces else namespaces,
resources="*" if "*" in resources else resources,
namespaces="*" if namespaces and "*" in namespaces else namespaces,
resources="*" if resources and "*" in resources else resources,
selector=selector,
prometheus_url=prometheus_url,
prometheus_auth_header=prometheus_auth_header,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_krr.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from robusta_krr.core.integrations.kubernetes import ClusterLoader
from robusta_krr.core.models.config import settings

runner = CliRunner(mix_stderr=False)
runner = CliRunner()
load_commands()

STRATEGY_NAME = "simple"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from robusta_krr.main import app, load_commands

runner = CliRunner(mix_stderr=False)
runner = CliRunner()
load_commands()


Expand Down