Readme"cornflakes-linter" is a wrapper for ** added vscode currently already has flake8 integration HOWEVER it doesn't play nicely with flake8 plugins in that the regex can't parse the output correctly. This means that the errors/warnings/information do not show up in the problems tab. This extension rectifies that. Quick Start.
ConfigurationFor the extensionYou need to include the full path to the flake8 executable that you wish to use. To find the path to the appropriate flake8 you can (on *nix) do. I'm sure you can do something similar on Windows too.
The set it in
Change when the linter is runThere are a couple of options here so that you can decide when to re-lint the current file. You can choose either on save or on type! Again all settings are available through the settings page, or the json.
Flake8 configurationThe way to configure flake8 extensions / settings / ignores and all other configuration for flake8 is by using the standard flake8 configuration rules. The extension will be run from the root directory of the workspace. Personally I like a
AcknowledgementsAnd is virtually a direct copy of ruby-linter. The extension architecture is based off of the PHPValidationProvider from the built-in php extension. Attributions |