Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Mar 5, 2024
1 parent 7012d5e commit eca7cd4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/fetch/orderbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ def get_order_rewards(cls, block_range: BlockRange) -> DataFrame:
return prod.copy()
elif not barn.empty:
return barn.copy()
else:
return pd.DataFrame()
return pd.DataFrame()

@classmethod
def get_batch_rewards(cls, block_range: BlockRange) -> DataFrame:
Expand Down Expand Up @@ -129,5 +128,4 @@ def get_batch_rewards(cls, block_range: BlockRange) -> DataFrame:
return prod.copy()
elif not barn.empty:
return barn.copy()
else:
return pd.DataFrame()
return pd.DataFrame()

0 comments on commit eca7cd4

Please sign in to comment.