Skip to content
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

Line length is not remembered #14546

Closed
fairyqiqi opened this issue Jan 6, 2021 · 4 comments
Closed

Line length is not remembered #14546

fairyqiqi opened this issue Jan 6, 2021 · 4 comments

Comments

@fairyqiqi
Copy link

Description

What steps will reproduce the problem?

Tools->Preferences->Completion and linting->Code style and formatting->Line length->Change "Maximum allowed length" to 119->OK

->You can see the vertical line in editor is moved to col 119
->Restart Spyder
->You can see the vertical line in editor is moved back to col 79, although it's till showing 119 in the settings.

Versions

  • Spyder version: 4.2.1
  • Python version: 3.7.9
  • Qt version: 5.12.10
  • PyQt5 version: 5.12.3
  • Operating System: Windows 10

Dependencies


# Mandatory:
atomicwrites >=1.2.0            :  1.4.0 (OK)
chardet >=2.0.0                 :  4.0.0 (OK)
cloudpickle >=0.5.0             :  1.6.0 (OK)
diff_match_patch >=20181111     :  20200713 (OK)
intervaltree                    :  None (OK)
IPython >=7.6.0                 :  7.19.0 (OK)
jedi =0.17.2                    :  0.17.2 (OK)
jsonschema >=3.2.0              :  3.2.0 (OK)
keyring >=17.0.0                :  21.5.0 (OK)
nbconvert >=4.0                 :  6.0.7 (OK)
numpydoc >=0.6.0                :  1.1.0 (OK)
paramiko >=2.4.0                :  2.7.2 (OK)
parso =0.7.0                    :  0.7.0 (OK)
pexpect >=4.4.0                 :  4.8.0 (OK)
pickleshare >=0.4               :  0.7.5 (OK)
psutil >=5.3                    :  5.7.3 (OK)
pygments >=2.0                  :  2.7.3 (OK)
pylint >=1.0                    :  2.6.0 (OK)
pyls >=0.36.2;<1.0.0            :  0.36.1 (NOK)
pyls_black >=0.4.6              :  0.4.6 (OK)
pyls_spyder >=0.3.0             :  0.2.1 (NOK)
qdarkstyle >=2.8                :  2.8.1 (OK)
qtawesome >=0.5.7               :  1.0.2 (OK)
qtconsole >=5.0.1               :  5.0.1 (OK)
qtpy >=1.5.0                    :  1.9.0 (OK)
rtree >=0.8.3                   :  0.9.4 (OK)
setuptools >=39.0.0             :  51.0.0 (OK)
sphinx >=0.6.6                  :  3.3.1 (OK)
spyder_kernels >=1.10.1;<1.11.0 :  1.10.1 (OK)
textdistance >=4.2.0            :  4.2.0 (OK)
three_merge >=0.1.1             :  0.1.1 (OK)
watchdog                        :  1.0.2 (OK)
zmq >=17                        :  20.0.0 (OK)

# Optional:
cython >=0.21                   :  0.29.21 (OK)
matplotlib >=2.0.0              :  3.3.2 (OK)
numpy >=1.7                     :  1.19.3 (OK)
pandas >=1.1.1                  :  1.1.5 (OK)
scipy >=0.17.0                  :  1.5.4 (OK)
sympy >=0.7.3                   :  1.6.2 (OK)
@ccordoba12
Copy link
Member

Hey @fairyqiqi, thanks for reporting. This is very odd indeed.

@steff456, could you take a look at this one and see if you're able to reproduce it? Thanks!

@steff456
Copy link
Member

steff456 commented Jan 6, 2021

Hi @fairyqiqi,

I'm able to reproduce this behavior, we will work in fixing this for our future release.

Thanks for reporting!

@justin76tan
Copy link

各位,请问下这个bug大概什么时候可以修复,有安排吗?

@mrclary
Copy link
Contributor

mrclary commented Nov 1, 2021

This is a duplicate of #14188. Closing.

@mrclary mrclary closed this as completed Nov 1, 2021
@ccordoba12 ccordoba12 removed this from the v5.2.0 milestone Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants