Closed
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.0
flake8-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