-
-
Save abodacs/5b832df1508488c3e4ed0e13452a2d46 to your computer and use it in GitHub Desktop.
PyCharm flake8 (~/PyCharm40/config/tools)
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="External Tools"> | |
<tool name="flake8 File" showInMainMenu="true" showInEditor="true" showInProject="true" showInSearchPopup="true" disabled="false" useConsole="true" showConsoleOnStdOut="false" showConsoleOnStdErr="false" synchronizeAfterRun="true"> | |
<exec> | |
<option name="COMMAND" value="/usr/bin/flake8" /> | |
<option name="PARAMETERS" value="--max-line-length=160 --ignore=E501,E128 --exclude=migrations $FileDir$/$FileName$" /> | |
<option name="WORKING_DIRECTORY" value="$FileDir$" /> | |
</exec> | |
<filter> | |
<option name="NAME" value="Flake8 Output Filter" /> | |
<option name="DESCRIPTION" /> | |
<option name="REGEXP" value="$FILE_PATH$\:$LINE$\:$COLUMN$\:.*" /> | |
</filter> | |
<filter> | |
<option name="NAME" value="Flake8 Output Filter Case 2" /> | |
<option name="DESCRIPTION" /> | |
<option name="REGEXP" value="$FILE_PATH$\:$LINE$\:.*" /> | |
</filter> | |
</tool> | |
<tool name="flake8 Directory" showInMainMenu="true" showInEditor="true" showInProject="true" showInSearchPopup="true" disabled="false" useConsole="true" showConsoleOnStdOut="false" showConsoleOnStdErr="false" synchronizeAfterRun="true"> | |
<exec> | |
<option name="COMMAND" value="/usr/bin/flake8" /> | |
<option name="PARAMETERS" value="--max-line-length=160 --ignore=E501,E128 --exclude=migrations $FileDir$" /> | |
<option name="WORKING_DIRECTORY" value="$FileDir$" /> | |
</exec> | |
<filter> | |
<option name="NAME" value="Flake8 Output Filter" /> | |
<option name="DESCRIPTION" /> | |
<option name="REGEXP" value="$FILE_PATH$\:$LINE$\:$COLUMN$\:.*" /> | |
</filter> | |
<filter> | |
<option name="NAME" value="Flake8 Output Filter Case 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