Skip to content

Commit

Permalink
delint
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Hellegouarch <[email protected]>
  • Loading branch information
Lawouach committed Mar 25, 2024
1 parent 3e6e9cb commit d1eef03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions controller.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import hashlib
import logging
from typing import Any, Dict, List, Union, Optional
from typing import Any, Dict, List, Union

import kopf
from kopf._cogs.structs import bodies
Expand Down Expand Up @@ -30,7 +30,6 @@ async def create_chaos_experiment( # noqa: C901
"""
v1 = client.CoreV1Api()
v1rbac = client.RbacAuthorizationV1Api()
v1policy = client.PolicyV1beta1Api()
v1cron = client.BatchV1Api()

name_suffix = generate_name_suffix(body)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ docstring-code-format = false

[tool.pdm.scripts]
lint = {composite = ["ruff check controller.py"]}
format = {composite = ["ruff format controller.py"]}
format = {composite = ["ruff format controller.py", "ruff check --fix controller.py"]}
test = {cmd = "pytest"}

[tool.pytest.ini_options]
Expand Down

0 comments on commit d1eef03

Please sign in to comment.