Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 12, 2024
1 parent de7b244 commit cff0d5b
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions heimdallr/entry_points/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
import fire
import warg
from heimdallr.configuration.heimdallr_settings import (
HeimdallrSettings,
SettingScopeEnum,
HeimdallrSettings,
SettingScopeEnum,
)
from pyfiglet import Figlet
from sorcery import assigned_names
Expand Down
4 changes: 2 additions & 2 deletions heimdallr/entry_points/publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
from draugr.writers import LogWriter, MockWriter, Writer
from heimdallr.configuration.heimdallr_config import ALL_CONSTANTS
from heimdallr.configuration.heimdallr_settings import (
HeimdallrSettings,
SettingScopeEnum,
HeimdallrSettings,
SettingScopeEnum,
)
from heimdallr.utilities.publisher.unpacking import pull_disk_usage_info, pull_gpu_info
from warg import NOD
Expand Down
26 changes: 13 additions & 13 deletions heimdallr/server/board_layout/body.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@

from dash import dcc, html
from heimdallr.configuration.heimdallr_config import (
CALENDAR_ID,
CALENDAR_INTERVAL_ID,
CALENDAR_INTERVAL_MS,
DU_INTERVAL_ID,
DU_INTERVAL_MS,
DU_TABLES_ID,
GPU_GRAPHS_ID,
GPU_INTERVAL_ID,
GPU_INTERVAL_MS,
GPU_TABLES_ID,
TEAMS_STATUS_ID,
TEAMS_STATUS_INTERVAL_ID,
TEAMS_STATUS_INTERVAL_MS,
CALENDAR_ID,
CALENDAR_INTERVAL_ID,
CALENDAR_INTERVAL_MS,
DU_INTERVAL_ID,
DU_INTERVAL_MS,
DU_TABLES_ID,
GPU_GRAPHS_ID,
GPU_INTERVAL_ID,
GPU_INTERVAL_MS,
GPU_TABLES_ID,
TEAMS_STATUS_ID,
TEAMS_STATUS_INTERVAL_ID,
TEAMS_STATUS_INTERVAL_MS,
)


Expand Down
6 changes: 3 additions & 3 deletions heimdallr/server/board_layout/header.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

from dash import dcc, html
from heimdallr.configuration.heimdallr_config import (
HTML_TITLE,
TIME_ID,
TIME_INTERVAL_ID,
HTML_TITLE,
TIME_ID,
TIME_INTERVAL_ID,
)

import heimdallr
Expand Down
12 changes: 6 additions & 6 deletions heimdallr/utilities/nvidia/smi_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2827,9 +2827,9 @@ def DeviceQuery(self, filter=None):
or NVSMI_CLOCK_THROTTLE_REASONS_SW_THERMAL_SLOWDOWN in filter
or NVSMI_CLOCK_THROTTLE_REASONS_SYNC_BOOST in filter
):
gpuResults[
"clocks_throttle"
] = NvidiaSMI.__GetClocksThrottleReasons(handle)
gpuResults["clocks_throttle"] = (
NvidiaSMI.__GetClocksThrottleReasons(handle)
)

fbMemoryUsage = {}
includeMemoryUsage = False
Expand Down Expand Up @@ -3268,9 +3268,9 @@ def DeviceQuery(self, filter=None):
except NVMLError as err:
supportedGraphicsClocks = NvidiaSMI.__handleError(err)

supportMemClock[
"supported_graphics_clock"
] = supportedGraphicsClocks
supportMemClock["supported_graphics_clock"] = (
supportedGraphicsClocks
)

supportedClocks.append(supportMemClock)
# jj+=1
Expand Down
8 changes: 4 additions & 4 deletions heimdallr/utilities/server/du_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
import numpy
import pandas
from heimdallr.configuration.heimdallr_config import (
DROP_COLUMNS,
INT_COLUMNS,
MB_COLUMNS,
PERCENT_COLUMNS,
DROP_COLUMNS,
INT_COLUMNS,
MB_COLUMNS,
PERCENT_COLUMNS,
)
from heimdallr.utilities.date_tools import timestamp_to_datetime
from pandas import DataFrame
Expand Down

0 comments on commit cff0d5b

Please sign in to comment.