Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sed-i committed Jan 17, 2024
1 parent fc054df commit 080181d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@
import hashlib
import logging
import re
from typing import List, TypedDict, cast

import socket
import subprocess
from pathlib import Path
from typing import Dict, Optional, TypedDict, cast
from typing import Dict, List, Optional, TypedDict, cast
from urllib.parse import urlparse

import yaml
Expand Down Expand Up @@ -575,7 +573,9 @@ def _configure(self, _):

logger.info("Prometheus configuration reloaded")

self.unit.status = StatusBase._get_highest_priority(cast(List[StatusBase], list(self.status.values())))
self.unit.status = StatusBase._get_highest_priority(
cast(List[StatusBase], list(self.status.values()))
)

def _on_pebble_ready(self, event) -> None:
"""Pebble ready hook.
Expand Down

0 comments on commit 080181d

Please sign in to comment.