Skip to content

Commit

Permalink
pylint advisory
Browse files Browse the repository at this point in the history
  • Loading branch information
semuadmin committed May 7, 2024
1 parent 9d98f13 commit 86d1c8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pygnssutils/ubxcompare.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(self, infiles: str, form: int = FORMAT_TXT, diffsonly: bool = True)
self.parse_file(cfgdict, file.strip(), fcount, form)

print(
f"\n{fcount} files processed, list of {"differences in" if diffsonly else "all"}",
f"\n{fcount} files processed, list of {'differences in' if diffsonly else 'all'}",
"config keys and their values follows:\n",
)

Expand All @@ -85,7 +85,7 @@ def __init__(self, infiles: str, form: int = FORMAT_TXT, diffsonly: bool = True)
if diff:
dcount += 1
if (diffsonly and diff) or not diffsonly:
print(f"{key} ({"DIFFS!" if diff else None}); {str(vals).strip('{}')}")
print(f"{key} ({'DIFFS!' if diff else None}); {str(vals).strip('{}')}")

print(f"\nTotal config keys: {kcount}. Total differences: {dcount}.")

Expand Down

0 comments on commit 86d1c8f

Please sign in to comment.