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

PR: Restore ability to ignore linting messages with inline comments (Editor) #15927

Merged
merged 2 commits into from
Jun 23, 2021

Conversation

ccordoba12
Copy link
Member

@ccordoba12 ccordoba12 commented Jun 23, 2021

Description of Changes

# noqa, # NOQA and # analysis:ignore inline comments are supported now.

Before

imagen

After

imagen

Issue(s) Resolved

Fixes #11033.

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:

@ccordoba12 ccordoba12 self-assigned this Jun 23, 2021
@pep8speaks
Copy link

pep8speaks commented Jun 23, 2021

Hello @ccordoba12! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-06-23 21:03:56 UTC

@ccordoba12 ccordoba12 added this to the v5.1.0 milestone Jun 23, 2021
@ccordoba12 ccordoba12 changed the base branch from master to 5.x June 23, 2021 23:14
@ccordoba12 ccordoba12 merged commit 277312b into spyder-ide:5.x Jun 23, 2021
@ccordoba12 ccordoba12 deleted the issue-11033 branch June 23, 2021 23:15
ccordoba12 added a commit that referenced this pull request Jun 24, 2021
@Old-Green-Man
Copy link

Is it still not possible to suppress a specific warning, like for long lines. e.g. # noqa: E501

@ccordoba12
Copy link
Member Author

No, sorry. For that we'd need to switch to flake8 as our linting provider. We hope to do that for Spyder 6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to suppress errors found by pyflakes in Spyder 4
3 participants