Skip to content

Commit

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

updates:
- [github.com/abravalheri/validate-pyproject: v0.15 → v0.16](abravalheri/validate-pyproject@v0.15...v0.16)
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)

* [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 Jan 29, 2024
1 parent 8fb0993 commit dbfcdb2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
#

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.15
rev: v0.16
hooks:
- id: validate-pyproject
fail_fast: true
Expand Down Expand Up @@ -67,7 +67,7 @@ repos:

# Last modifier: Coding Standard
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black

Expand Down
1 change: 0 additions & 1 deletion angrmanagement/logic/singleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class SingleInstanceException(BaseException):


class SingleInstance:

"""Class that can be instantiated only once per machine.
If you want to prevent your script from running in parallel just instantiate SingleInstance() class. If is there
Expand Down
1 change: 1 addition & 0 deletions angrmanagement/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
This file intentionally does not reuse angr.misc.autoimport since it has additional design goals (managing exceptions,
loading out-of-tree files).
"""

import logging

from .base_plugin import BasePlugin
Expand Down
6 changes: 3 additions & 3 deletions angrmanagement/ui/widgets/qstring_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ def _get_column_data(self, v: "MemoryData", col: int) -> Any:
self.ADDRESS_COL: lambda x: x.addr,
self.SIZE_COL: lambda x: x.size,
self.LENGTH_COL: lambda x: len(self._get_decoded_string_content(x)) if x.content is not None else "<ERROR>",
self.STRING_COL: lambda x: filter_string_for_display(self._get_decoded_string_content(x))
if x.content is not None
else "<ERROR>",
self.STRING_COL: lambda x: (
filter_string_for_display(self._get_decoded_string_content(x)) if x.content is not None else "<ERROR>"
),
}

if col in mapping:
Expand Down
1 change: 1 addition & 0 deletions angrmanagement/utils/monkeypatch_stdio.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
monkeypatch_stdio - Monkeypatches stdout and stderr to be NullWriters.
"""

import sys


Expand Down

0 comments on commit dbfcdb2

Please sign in to comment.