-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show vertical line at maximum allowed line length does not respect max allowed line length at startup #14188
Comments
Tangentially, is it possible to have the vertical line in the Editor use the maximum allowed line length from a relevant pycodestyle.cfg file? I.e. linting already uses these files to appropriately analyze code style, including |
Hi @mrclary, I can reproduce this error, we will work in this because there's something weird happening with that preference setting |
I am having the same issue. One observation: it seems that the setting is actually correctly used by the code style linter. For instance, if line length is set to 88, then the linter doesn't show a warning for lines between 80 and 87 characters. Only the location of the vertical line is off. |
I can confirm this issue still persists in 5.0.3. If I go into settings and change it the line will move, but at startup it's incorrect. |
I just noticed that when I change the max allowed line length in the settings, the vertical line only changes in the active panel. In other open panels it stays at 79 characters. |
Hey @joooeey, thanks for mentioning this! I'll fix it as part of this issue too. |
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
The vertical line indicating the maximum allowed line length does not respect the value in the preferences on startup.
What steps reproduce the problem?
Versions
The text was updated successfully, but these errors were encountered: