Replies: 1 comment 1 reply
-
Here are some options:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm using 80 columns as a max width, and I'm running into problems where I break long lines and the pyright ignore statement can't be used at the first line, or on any other intermittent line that is not the last one. Example:
This ignore statement can't be used on the
self.super_long_declaration_name_that_doesnt_fit_in_one_line
declaration, although it should be used on that one, and not on the second line (which has no errors).Not to mention that the specific pyright line ignore statements themselves can be way too long, there is no way to tell it to ignore the entire statement, instead of just the line it's put on.
I'm looking for a way to have this actually working. Using a
# pyright:ignore
statement after the backslash is not an option as it makes the code syntactically wrong.Please don't tell me I have no other way to solve this other than to enable lines with arbitrary character count.
Beta Was this translation helpful? Give feedback.
All reactions