Skip to content

Commit

Permalink
Using unpacked lists (*list) instead of lists where possible.
Browse files Browse the repository at this point in the history
  • Loading branch information
guigoruiz1 committed Nov 7, 2024
1 parent 8127f54 commit f31c5e2
Show file tree
Hide file tree
Showing 5 changed files with 400 additions and 231 deletions.
2 changes: 1 addition & 1 deletion notebooks/Sets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
"source": [
"# List of sets to ask\n",
"sets = all_set_lists_df[\"Set\"].unique()\n",
"set_info_df = api.fetch_set_info(sets)"
"set_info_df = api.fetch_set_info(*sets)"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion yugiquery/bot/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def github_cmd(cmd) -> str:
case GitCommands.status:
return self.repo.git.status()
case GitCommands.log:
return self.repo.git.log()
return self.repo.git.log("-n", 5)
case GitCommands.pull:
return github_cmd(cmd=git.pull)
case GitCommands.push:
Expand Down
Loading

0 comments on commit f31c5e2

Please sign in to comment.