Archived
1
1
Fork 0

disable "line-too-long" linting for tui.py

This commit is contained in:
Josh Lay 2023-04-29 20:57:35 -05:00
parent 78f0fbc6b5
commit 9e23211196
Signed by: jlay
GPG key ID: B265E45CACAD108A

View file

@ -16,6 +16,8 @@ Classes:
Functions:
- interface: Renders the TUI using the classes above
"""
# disable superfluouos linting
# pylint: disable=line-too-long
import sys
from datetime import datetime
from os import path
@ -68,7 +70,7 @@ class GPUStatsWidget(Static):
yield ClockDisplay(classes="box", card=self.card, hwmon_dir=self.hwmon_dir)
yield PowerDisplay(classes="box", card=self.card, hwmon_dir=self.hwmon_dir)
yield MiscDisplay(classes="box", card=self.card)
_msg = f'[bold]App:[/] creating stat widgets for [green]{self.card}[/], info directory: {self.hwmon_dir}'
_msg = f'''[bold]App:[/] creating stat widgets for [green]{self.card}[/], stats directory: {self.hwmon_dir}'''
self.update_log(_msg)
def update_log(self, message: str) -> None: