Last active
December 28, 2020 07:31
-
-
Save kanghyojun/aa1c0f8d8db8f0cc95ee691063545087 to your computer and use it in GitHub Desktop.
diagnostic-languageserver for flake8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"diagnostic-languageserver.filetypes": { | |
"python": "flake8" | |
}, | |
"diagnostic-languageserver.linters": { | |
"flake8": { | |
"sourceName": "flake8", | |
"command": "flake8", | |
"args": [ | |
"%file" | |
], | |
"formatPattern": [ | |
"^(.+\\.py):(\\d+):(\\d+): (I|W|E|F)\\d+ (.+)$", | |
{ | |
"line": 2, | |
"column": 3, | |
"security": 4, | |
"message": [5] | |
} | |
], | |
"rootPatterns": ["pyproject.toml", "setup.py", "setup.cfg", ".git"], | |
"securities": { | |
"E": "error", | |
"W": "warning", | |
"I": "info", | |
"F": "error" | |
}, | |
"requiredFiles": [ | |
".flake8", | |
"setup.cfg" | |
], | |
"offsetColumn": 0, | |
"formatLines": 1 | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment