black & pylint

pull/1311/head
Josselin Feist 2 years ago
parent 485e4a9674
commit 14ae013c9a
  1. 4
      slither/tools/read_storage/read_storage.py

@ -31,7 +31,7 @@ from dataclasses import dataclass, field
from slither.core.solidity_types.type import Type from slither.core.solidity_types.type import Type
from slither.core.solidity_types import ArrayType, ElementaryType, UserDefinedType, MappingType from slither.core.solidity_types import ArrayType, ElementaryType, UserDefinedType, MappingType
from slither.core.declarations import Contract, Structure, StructureContract from slither.core.declarations import Contract, Structure
from slither.core.variables.state_variable import StateVariable from slither.core.variables.state_variable import StateVariable
from slither.core.variables.structure_variable import StructureVariable from slither.core.variables.structure_variable import StructureVariable
@ -673,6 +673,8 @@ class SlitherReadStorage:
return data return data
# TODO: remove this exception (montyly)
# pylint: disable=too-many-nested-blocks
def _all_array_slots( def _all_array_slots(
self, var: StateVariable, contract: Contract, type_: Type, slot: int self, var: StateVariable, contract: Contract, type_: Type, slot: int
) -> Dict[str, SlotInfo]: ) -> Dict[str, SlotInfo]:

Loading…
Cancel
Save