Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1065)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.285 → v0.0.286](astral-sh/ruff-pre-commit@v0.0.285...v0.0.286)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Aug 28, 2023
1 parent c4a1676 commit d48abec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ repos:
- id: rm-unneeded-f-str

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.285
rev: v0.0.286
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
4 changes: 2 additions & 2 deletions angrmanagement/ui/views/hex_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ def set_pen_brush_for_active_selection(active):
painter.drawText(pt, addr_text)

# Paint byte values
for col in range(0, 16):
for col in range(16):
addr = self.row_col_to_addr(row, col)
if addr < self.display_start_addr or addr >= self.display_end_addr:
continue
Expand All @@ -990,7 +990,7 @@ def set_pen_brush_for_active_selection(active):
painter.drawText(pt, byte_text)

# Paint ASCII representation
for col in range(0, 16):
for col in range(16):
addr = self.row_col_to_addr(row, col)
if addr < self.display_start_addr or addr >= self.display_end_addr:
continue
Expand Down

0 comments on commit d48abec

Please sign in to comment.