Skip to content

Commit

Permalink
Update flake8
Browse files Browse the repository at this point in the history
Signed-off-by: cyc60 <[email protected]>
  • Loading branch information
cyc60 committed May 29, 2024
1 parent 4d99cb5 commit 6df2f47
Show file tree
Hide file tree
Showing 4 changed files with 1,024 additions and 988 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 7.0.0
hooks:
- id: flake8

Expand Down
2 changes: 1 addition & 1 deletion oracle/oracle/distributor/common/eth1.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ async def get_disabled_stakers_reward_token_distributions(
distributed: Wei = Wei(0)
last_staker_index = len(principals) - 1
for i, staker_address in enumerate(principals):
rewards: Wei
reward: Wei
if i == last_staker_index:
reward = Wei(distributor_reward - distributed)
else:
Expand Down
Loading

0 comments on commit 6df2f47

Please sign in to comment.