Closed
Description
(Moving over from microsoft/vscode#43851)
With flake8, the "F*" issues are labeled as errors by default (https://code.visualstudio.com/docs/python/linting#_flake8).
I think this comes from a misunderstanding of what "F" (vs. "W" or "E") means in this context. For flake8, it means that these are issues flagged by pyflakes, rather than that these are fatal errors. See http://flake8.pycqa.org/en/latest/glossary.html#term-class
The upshot is that issues like unused imports are flagged as errors by default with pyflake, rather than as warnings. They should be warnings:
{
"python.linting.flake8CategorySeverity.F": "Warning"
}
- VSCode Version: Version 1.19.2 (1.19.2)
- OS Version: macOS Sierra 10.12.6 (16G29)
Metadata
Metadata
Assignees
Labels
Issue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug