From 1179c5b6580d7b498166603a028fc485a7fb8925 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Wed, 26 Apr 2023 23:24:16 -0500 Subject: [PATCH] remove deprecated vars from utils.py docstring --- src/amdgpu_stats/utils.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/amdgpu_stats/utils.py b/src/amdgpu_stats/utils.py index a9022fe..b9a83f3 100644 --- a/src/amdgpu_stats/utils.py +++ b/src/amdgpu_stats/utils.py @@ -4,11 +4,10 @@ utils.py This module contains utility functions/variables used throughout the 'amdgpu-stats' TUI Variables: - - CARD: the identifier for the discovered AMD GPU, ie: `card0` / `card1` - - hwmon_dir: the `hwmon` interface (dir) that provides stats for this card - - SRC_FILES: dictionary of the known stats from the items in `hwmon_dir` - - TEMP_FILES: dictionary of the *discovered* temperature nodes / stat files - - CLOCK_DOMAINS: tuple of supported clock domains: `core`, `memory` + - AMDGPU_CARDS (dict): discovered AMD GPUs and their `hwmon` stats directories + - Example: `{'card0': '/sys/class/drm/card0/device/hwmon/hwmon9'}` + - If no *AMD* cards are found, this will be empty. + - CLOCK_DOMAINS: tuple of supported clock domains: `('core', 'memory')` """ # disable superfluous linting # pylint: disable=line-too-long