Which linter prompts warning/error in VSC

70 Views Asked by At

after having some Python courses I am starting with my first own project I am using (VSC). My environment is derived from one of those courses requirements.txt, which includes several support tools like linters. Meanwhile I can't really remember anymore which tool is used for what ;) Accordingly I am used to get several error messages for one error, what is fine for me for real issues. Unfortunately I also have some long lines in my code I want to keep, so those messages won't disappear by correcting my code. I managed to include a settings file for Flake8 as for its error message the source linter is mentioned. But some other linter tool still gives me annoying line-too-long-warnings in the Problems tab as well as inline.

-> Which linter produces the error message given below and how can I disable E501 errors for it ? The remaining line-too-long-error can be supressed by adding # noqa: E501 at the end of the long line, I guess that helps to identify the correponding linter. -> Is there a way to find out which linter prompts the errors/warning in the Problems tab in general ?

Thanks in advance !


error message: Line too long (90 > 88 characters) Ruff(E501)


requirements.txt:

pip
setuptools

# Libraries
ipython
ipykernel
loguru
Cython

# Testing
pytest
codecov
pytest-cov
tox
pre-commit
pytest-benchmark

# Linting
flake8
pylint
mypy
autopep8
isort
black==21.4b0

# Documentation
mkdocs
mkdocstrings
mkdocs-material
Pygments

# Project specific Libraries:
selenium
pandas
0

There are 0 best solutions below