You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Besides the main_command we could also analyze the subcommands list.
if main_command == "ruff":
subcommand = subcommands if len(subcommands) == 1 and subcommands[0] in ["check", "format"] else "check"
sub_commands.insert(0, subcommand)
The text was updated successfully, but these errors were encountered:
The following commit 2303a49df1a15d73fdbd525f41e37c3b3f82fcf8 breaks ruff nbqa usage of the form:
Besides the
main_command
we could also analyze thesubcommands
list.The text was updated successfully, but these errors were encountered: