Skip to content

Commit

Permalink
🎨 Format testing utils code
Browse files Browse the repository at this point in the history
  • Loading branch information
michprev committed Nov 6, 2024
1 parent 859ed38 commit a59dc02
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions wake/development/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
import importlib
import inspect
import json
import logging
import math
import warnings
import logging
from dataclasses import dataclass
from functools import lru_cache
from json import JSONDecodeError
Expand Down Expand Up @@ -61,7 +61,7 @@
# pyright: reportGeneralTypeIssues=false, reportOptionalIterable=false, reportOptionalSubscript=false, reportOptionalMemberAccess=false


dummy_logger = logging.getLogger('dummy')
dummy_logger = logging.getLogger("dummy")
dummy_logger.addHandler(logging.NullHandler())
dummy_logger.propagate = False

Expand Down Expand Up @@ -1064,7 +1064,9 @@ def _detect_erc721_owner_slot(
except Exception:
continue
finally:
contract.chain.chain_interface.set_storage_at(str(addr), slot, data_before)
contract.chain.chain_interface.set_storage_at(
str(addr), slot, data_before
)

return None

Expand Down Expand Up @@ -1412,7 +1414,9 @@ def _get_storage_layout_from_explorer(
compiler.compile_unit_raw(
compilation_units[0],
parsed_version,
compiler.create_build_settings([SolcOutputSelectionEnum.STORAGE_LAYOUT], None),
compiler.create_build_settings(
[SolcOutputSelectionEnum.STORAGE_LAYOUT], None
),
dummy_logger,
)
)
Expand Down

0 comments on commit a59dc02

Please sign in to comment.