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
I am working on a codebase where there are lots of extra tabs, for example:
FOO = {
\t\t"key": value
}
I'd like to automatically make those just one tab and set up checks going forward that it's not the case. How can I do this with ruff?
Similarly, I'd like to also make it so if something can be on one line while obeying the line lengths that it is put on one line. How can I enforce that?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am working on a codebase where there are lots of extra tabs, for example:
I'd like to automatically make those just one tab and set up checks going forward that it's not the case. How can I do this with ruff?
Similarly, I'd like to also make it so if something can be on one line while obeying the line lengths that it is put on one line. How can I enforce that?
Beta Was this translation helpful? Give feedback.
All reactions