From 3339dfb08724db21c5346e37ce3cab65999a9e83 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 15 Jan 2025 13:22:08 +0100 Subject: [PATCH] Pylint fixes --- src/fetch/.transfer_file.py.swp | Bin 0 -> 24576 bytes src/fetch/transfer_file.py | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 src/fetch/.transfer_file.py.swp diff --git a/src/fetch/.transfer_file.py.swp b/src/fetch/.transfer_file.py.swp new file mode 100644 index 0000000000000000000000000000000000000000..50f2cf0b2fd256974a56fbe58b15296b68115968 GIT binary patch literal 24576 zcmeI3dyE}b9mfYL6y>2Qis3H~x3S!%duLl7rQLW-%XSMz+AiB|8))k|cka1&hn+if zJ7;FM%ep)b`j28%{;=R9K*b30^@jp#OhgkT0-AvQgCwY_3Lz0ANkx2of9ITe-FsVT z3?Mo;`Rv|1bDqERJHPY#oyMwNTeh-w=4u0<_ZbHN`X}2zYCdqn;ZH3w8ll~x$FKLH zaJ8vv*Ppp82xe-l*VHawQ`<6mRd2i-DB#FM7+lAlNQ{WUo8@6GkLQUb>*fjDZ_)}C%$c){vb6mxmyTz2NNoyVC-8N8H0 zDS=V~r36X|loBW-GN=dj2obzgO!28+zWKq<=g5 z|8+g@Pt?E9(f=Rsd9Qz#|4Ipz5-255N}!ZLDS=V~r36X|loBW~Ku zFkZsq{U0YIah(4r>;Ko@YZ&)|d%)e`MsNd&fD5h!E5QfBSzsyn%^8OAE${`f7hDW3 z0w;oJPdAJQz%Aekunhd-G{d+P><6P@2{;kFc&cH%0R9B-1pB}RU>SJzJ%;f;umEhZ z44ejDemBYq?gEzs27Y;pVLS$Y2yOzKz$xIlrH1iUa1iVQJHZqn87#&BcY)vI`_I4w z;ASujd@u~2fxMmsH-js|5p0h91-uL%1#@5)d<+Z$1N;jcAb$i;fcwE6U^Q3@j$rfU z5%3Ur5PTmT0=I!SxDs3f&IV_IlfloiK|`b;hR?Vkh4ZW%xPHX!I0~2(ayxPZp9L+Z z{VZ75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gE9GUA+ow?X?*`e}u zF4mfYGb#y^5xry03QsC%VI^Z93Bs+>`=MSH)X5a{^;ChIndR52)pZv|~ zR9mW~IyWZWruz+QZlElK)>}P5wlH^6V`Dn7WEVpVgC6CR4u^7UL=B0R3FW|#A$Irp z)D=wm@mJuIuWOtP*-8yD$?>?at^ul|h#|H_ge zcmXfd3%Xd)<;}uvqN6C-prDr4$t=Oa2I$zzneTA<`d~0Q#uW%PTn>`^l)h;=@NOkW z%szda+CH`MsvXHdCjCN?chTR!3djCrXs6pf$zUwM!>XoZm%gH!8H~OQsyPFKYz9j# z7sep{T8^7I@|r6qI&-!gNmW+Y%G4+T{iaC}E&$V{j=9l!>RPNli`&6;MNrxAM{;dKS 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. @@ -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)