Skip to content

Commit

Permalink
Pylint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bram-vdberg committed Jan 15, 2025
1 parent 851b651 commit 3339dfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file added src/fetch/.transfer_file.py.swp
Binary file not shown.
8 changes: 4 additions & 4 deletions src/fetch/transfer_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ def dashboard_url(period: AccountingPeriod, config: AccountingConfig) -> str:
return base + urllib.parse.quote_plus(slug + query, safe="=&?")


def manual_propose(
def manual_propose( #pylint: disable=too-many-arguments, too-many-positional-arguments
transfers: list[Transfer],
period: AccountingPeriod,
config: AccountingConfig,
log_saver_obj: PrintStore,
send_to_slack: bool,
send_to_slack: bool = False,
slack_client: WebClient | None = None,
log_saver_obj: PrintStore | None = None,
) -> None:
"""
Entry point to manual creation of rewards payout transaction.
Expand Down Expand Up @@ -223,9 +223,9 @@ def main() -> None:
manual_propose(transfers=payout_transfers,
period=dune.period,
config=config,
log_saver_obj=log_saver,
send_to_slack=args.send_to_slack,
slack_client=slack_client,
log_saver_obj=log_saver,
)
else:
manual_propose(transfers=payout_transfers, period=dune.period, config=config)
Expand Down

0 comments on commit 3339dfb

Please sign in to comment.