Skip to content

Commit 00727ed

Browse files
pdgendtkartben
authored andcommitted
scripts: logging: dictionary: data_types: Fix linter issues
Fix issues reported by ruff. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 6af247e commit 00727ed

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.ruff-excludes.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -568,10 +568,6 @@
568568
"UP036", # https://docs.astral.sh/ruff/rules/outdated-version-block
569569
"UP038", # https://docs.astral.sh/ruff/rules/non-pep604-isinstance
570570
]
571-
"./scripts/logging/dictionary/dictionary_parser/data_types.py" = [
572-
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
573-
"UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses
574-
]
575571
"./scripts/logging/dictionary/dictionary_parser/log_database.py" = [
576572
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
577573
"SIM103", # https://docs.astral.sh/ruff/rules/needless-bool

scripts/logging/dictionary/dictionary_parser/data_types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
import struct
1313

14-
class DataTypes():
14+
15+
class DataTypes:
1516
"""Class regarding data types, their alignments and sizes"""
1617
INT = 0
1718
UINT = 1

0 commit comments

Comments
 (0)