Skip to content

Commit

Permalink
fix: tox -e lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Jun 4, 2024
1 parent 31c597a commit 1821a80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions brownie/test/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,17 +224,19 @@ def _contract_deferred(name):


@overload
def strategy(type_str: Literal["address"], length: Optional[int] = None, include: list = []):
...
def strategy(
type_str: Literal["address"],
length: Optional[int] = None,
include: list = [],
) -> SearchStrategy: ...


@overload
def strategy(
type_str: Union[EvmIntType, EvmUintType],
min_value: Optional[int] = None,
max_value: Optional[int] = None,
):
...
) -> SearchStrategy: ...


def strategy(type_str: str, **kwargs: Any) -> SearchStrategy:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ current_version = 1.20.5
[flake8]
exclude = tests/data/*
max-line-length = 100
ignore = E203,W503
ignore = E203,E704,W503

[tool:isort]
force_grid_wrap = 0
Expand Down

0 comments on commit 1821a80

Please sign in to comment.