File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
scripts/logging/dictionary/dictionary_parser Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 568
568
" UP036" , # https://docs.astral.sh/ruff/rules/outdated-version-block
569
569
" UP038" , # https://docs.astral.sh/ruff/rules/non-pep604-isinstance
570
570
]
571
- "./scripts/logging/dictionary/dictionary_parser/utils.py" = [
572
- " UP015" , # https://docs.astral.sh/ruff/rules/redundant-open-modes
573
- ]
574
571
"./scripts/logging/dictionary/log_parser.py" = [
575
572
" SIM115" , # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
576
573
" UP015" , # https://docs.astral.sh/ruff/rules/redundant-open-modes
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def convert_hex_file_to_bin(hexfile):
15
15
"""This converts a file in hexadecimal to binary"""
16
16
bin_data = b''
17
17
18
- with open (hexfile , "r" , encoding = "iso-8859-1" ) as hfile :
18
+ with open (hexfile , encoding = "iso-8859-1" ) as hfile :
19
19
for line in hfile .readlines ():
20
20
hex_str = line .strip ()
21
21
You can’t perform that action at this time.
0 commit comments