Skip to content

Instantly share code, notes, and snippets.

@Dmitri-Sintsov
Dmitri-Sintsov / flake8.xml
Last active December 29, 2016 09:09 — forked from jsmits/flake8.xml
PyCharm Flake8 Configuration XML that uses current virtualenv interpreter.
<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="$PyInterpreterDirectory$/python" />
<option name="PARAMETERS" value="-m flake8 --max-complexity 10 --ignore E501 $FilePath$" />
<option name="WORKING_DIRECTORY" value="$ProjectFileDir$" />
</exec>
<filter>
<option name="NAME" value="Filter 1" />
<option name="DESCRIPTION" />