Last active
August 2, 2018 16:52
-
-
Save jsmits/9033655 to your computer and use it in GitHub Desktop.
PyCharm 3.x Flake8 Configuration XML
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
<toolSet name="Code Checking"> | |
<tool name="Flake8" showInMainMenu="true" showInEditor="true" showInProject="true" showInSearchPopup="true" disabled="false" useConsole="true" showConsoleOnStdOut="false" showConsoleOnStdErr="false" synchronizeAfterRun="true"> | |
<exec> | |
<option name="COMMAND" value="/usr/local/bin/flake8" /> | |
<option name="PARAMETERS" value="--max-complexity 10 $FilePath$" /> | |
<option name="WORKING_DIRECTORY" value="$ProjectFileDir$" /> | |
</exec> | |
<filter> | |
<option name="NAME" value="Filter 1" /> | |
<option name="DESCRIPTION" /> | |
<option name="REGEXP" value="$FILE_PATH$\:$LINE$\:$COLUMN$\:.*" /> | |
</filter> | |
<filter> | |
<option name="NAME" value="Filter 2" /> | |
<option name="DESCRIPTION" /> | |
<option name="REGEXP" value="$FILE_PATH$\:$LINE$\:.*" /> | |
</filter> | |
</tool> | |
</toolSet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ssbarnea you must to add a output filter containing the regular expression
$FILE_PATH$\:$LINE$\:$COLUMN$\:.*
working in pycharm CE 2016.3.2