Set different line-length for .py and for .ipynb #13723
Unanswered
arogozhnikov
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
I don't think there's a way to configure this today unless your notebooks and regular python files are stored in different directories. If your notebooks are in a different directory, you can then create a |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I would like to be able to do this as well (in our case, to use a shorter line length in Jupyter notebooks). It seems like a fairly obvious feature, since the user environment is so different between Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ruff team, I'd like to set much longer line-length for notebooks (than regular python files), but can't find the right way to do it.
There is a way to switch off max line-width rule in linter, but I want to use formatter on notebooks (with larger line-length).
Beta Was this translation helpful? Give feedback.
All reactions