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

pylsp does not react to "# noqa" #601

Open
Bazulenkov opened this issue Nov 1, 2024 · 0 comments
Open

pylsp does not react to "# noqa" #601

Bazulenkov opened this issue Nov 1, 2024 · 0 comments

Comments

@Bazulenkov
Copy link

I have neovim and pylsp as LSP server.

This is my config of pylsp:

pylsp = {
    settings = {
      pylsp = {
        plugins = {
          pycodestyle = {
            ignore = { "W391" },
            maxLineLength = 88,
          },
        },
      },
    },
  },

Example of python file:

# app/core/base.py

from app.core.db import Base  # noqa
from app.models.meeting_room import MeetingRoom  # noqa
from app.models.reservation import Reservation  # noqa

I attach the screenshot with errors.
Screenshot from 2024-11-01 15-16-17

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

No branches or pull requests

1 participant