-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
One of the default rules in ruff is to remove a trailing semicolon. That is fine for python scripts, for for jupyter notebook this can change the output of the code cells. A screenshot to illustrate:
The removal of the semicolon results in the output of the plt.plot command being displayed. Typically this is not the intention, so a semicolor is used to hide the command output and only the the plotted graph.
Can the ruff default settings be modified to remove semicolons for python files, but not for notebooks?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
