Skip to content

Commit

Permalink
Update porcupine/plugins/python_tools.py
Browse files Browse the repository at this point in the history
Co-authored-by: Akuli <[email protected]>
  • Loading branch information
benjamin-kirkbride and Akuli authored Jul 10, 2023
1 parent 72ee7dd commit 1edd389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion porcupine/plugins/python_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def format_code_in_textwidget(tool: str, tab: tabs.FileTab) -> None:
name="isort Format Tab",
description="Sort Imports of open tab with isort",
callback=partial(format_code_in_textwidget, "isort"),
availability_callback=lambda tab: isinstance(tab, tabs.FileTab),
availability_callback=lambda tab: True,
)


Expand Down

0 comments on commit 1edd389

Please sign in to comment.