forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-editor-*User-facing catch-allUser-facing catch-allarea-lintingfeature-requestRequest for new features or functionalityRequest for new features or functionalityneeds PRReady to be worked onReady to be worked on
Description
Environment data
- VS Code version: 1.22.2
- Extension version: 2018.3.1
- OS and version: Ubuntu 17.10
- Python version: 3.6
- Type of virtual environment used: N/A
- Relevant/affected Python packages and their versions:
flake8==3.5.0flake8-import-order==0.17.1
Actual behavior
Flake8 plugin configuration settings don’t match the settings schema in vscode, even though the settings do work.
Expected behavior
Flake8 plugin settings are not marked as unknown in the vscode settings file.
Steps to reproduce:
-
Install
flake8 -
Install
flake8-import-order -
Open a file with the following contents:
from foo import bar import sys
-
Notice how this triggers an info level problem
-
Add this line to your vscode settings:
"python.linting.flake8CategorySeverity.I": "Warning",
-
Notice this gives a warning in the settings file
-
Save or reopen the Python file
-
Notice that the severity level has changed from info to warning
Logs
N/A
MetRonnie, thecnoNSMB and Avasam
Metadata
Metadata
Assignees
Labels
area-editor-*User-facing catch-allUser-facing catch-allarea-lintingfeature-requestRequest for new features or functionalityRequest for new features or functionalityneeds PRReady to be worked onReady to be worked on