Skip to content

Commit

Permalink
fix autopep8 python3.12 breaking lines
Browse files Browse the repository at this point in the history
  • Loading branch information
clearbluejar committed Oct 4, 2024
1 parent 6795045 commit 8b81121
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions ghidriff/ghidra_diff_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,7 @@ def setup_project(
pdb = self.get_pdb(program, allow_remote=False)

if pdb:
err = f'Symbols are disabled, but the symbol is already downloaded {
pdb}. Delete symbol or remove --no-symbol flag'
err = f'Symbols are disabled, but the symbol is already downloaded {pdb}. Delete symbol or remove --no-symbol flag' # nopep8
self.logger.error(err)
raise FileExistsError(err)

Expand Down
3 changes: 1 addition & 2 deletions ghidriff/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ def _wrap_list_with_details(self, items: list, max_items: int = 10) -> str:
if len(items) > max_items:
show_items = [item for i, item in enumerate(items) if i <= max_items]
hide_itmes = [item for i, item in enumerate(items) if i > max_items]
data = f'<details><summary>Expand for full list:<br>{
"<br>".join(show_items)}</summary>{"<br>".join(hide_itmes)}</details>'
data = f'<details><summary>Expand for full list:<br>{"<br>".join(show_items)}</summary>{"<br>".join(hide_itmes)}</details>' # nopep8
else:
data = f'{"<br>".join(items)}'
else:
Expand Down

0 comments on commit 8b81121

Please sign in to comment.