Code style ignore not working
See original GitHub issueDescription
What steps will reproduce the problem?
In Spyder Preferences>Code Style I have E501 (line too long) specified to ignore. When I start Spyder this is not recognized and my long lines are flagged. If I go into Preferences and re-apply the ignores then it works.
Versions
- Spyder version: 4.1.5
- Python version: 3.8.5
- Qt version: 5.9.7
- PyQt5 version: 5.9.2
- Operating System: Windows 10
Dependencies
# Mandatory:
atomicwrites >=1.2.0 : 1.4.0 (OK)
chardet >=2.0.0 : 3.0.4 (OK)
cloudpickle >=0.5.0 : 1.6.0 (OK)
diff_match_patch >=20181111 : 20200713 (OK)
intervaltree : None (OK)
IPython >=4.0 : 7.18.1 (OK)
jedi =0.17.1 : 0.17.1 (OK)
nbconvert >=4.0 : 5.6.1 (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.2 (OK)
pygments >=2.0 : 2.6.1 (OK)
pylint >=1.0 : 2.6.0 (OK)
pyls >=0.34.0;<1.0.0 : 0.34.1 (OK)
qdarkstyle >=2.8 : 2.8.1 (OK)
qtawesome >=0.5.7 : 0.7.2 (OK)
qtconsole >=4.6.0 : 4.7.6 (OK)
qtpy >=1.5.0 : 1.9.0 (OK)
rtree >=0.8.3 : 0.9.4 (OK)
sphinx >=0.6.6 : 3.2.1 (OK)
spyder_kernels >=1.9.4;<1.10.0 : 1.9.4 (OK)
watchdog : None (OK)
zmq >=17 : 19.0.1 (OK)
# Optional:
cython >=0.21 : None (OK)
matplotlib >=2.0.0 : 3.3.1 (OK)
numpy >=1.7 : 1.19.1 (OK)
pandas >=0.13.1 : 1.1.1 (OK)
scipy >=0.17.0 : None (OK)
sympy >=0.7.3 : None (OK)
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Ignoring Code - Prettier
Use .prettierignore to ignore (i.e. not reformat) certain files and folders completely. Use “prettier-ignore” comments to ignore parts of files.
Read more >prettier-ignore is ignored · Issue #59 · sveltejs/prettier-plugin ...
The prettier plugin seems to kick in since my <script> and <style> tags get reordered properly. Is anyone else having issues with this?...
Read more >How to make Prettier to ignore a block of code? - Stack Overflow
Another option is to move all the code you don't want to format (e.g., because it's generated) to a separate file excluded by...
Read more >how to disable prettier formatting for individual files or folders
To disable prettier formatting on a single file, open the .prettierignore file and ... i am noticing makes the .prettierignore file in the...
Read more >Ignoring code - Stylelint
Ignoring code. You can ignore: within files; files entirely. Within files. You can temporarily turn off rules using special comments in your CSS....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m glad your issue is fixed, I’m going to go ahead and close this issue.
Thanks for reporting!