Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nurbal committed Sep 25, 2024
1 parent 8644834 commit a32536f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion sarc/alerts/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class CachedResult:

@dataclass(unsafe_hash=True)
class Timespan:

# Time duration
duration: timedelta

Expand Down
1 change: 0 additions & 1 deletion sarc/alerts/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ class HealthMonitorConfig:
checks: dict[str, TaggedSubclass[HealthCheck]] = field(default_factory=dict)

def __post_init__(self):

all_checks = {}

# Parameterize the checks
Expand Down
16 changes: 8 additions & 8 deletions sarc/cli/health/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

@dataclass
class Health:
command: Union[HealthMonitorCommand, HealthCheckCommand, HealthHistoryCommand] = (
subparsers(
{
"monitor": HealthMonitorCommand,
"check": HealthCheckCommand,
"history": HealthHistoryCommand,
}
)
command: Union[
HealthMonitorCommand, HealthCheckCommand, HealthHistoryCommand
] = subparsers(
{
"monitor": HealthMonitorCommand,
"check": HealthCheckCommand,
"history": HealthHistoryCommand,
}
)

def execute(self) -> int:
Expand Down

0 comments on commit a32536f

Please sign in to comment.