Flake8 Rules


11 bookmarks. First posted by siebo 8 days ago.


Descriptions and examples for each of the rules in Flake8 (pyflakes, pycodestyle, and mccabe). Pulled directly from Lintly, the continuous Python code lintin...
python 
5 days ago by jfmcdowell
Descriptions and examples for each of the rules in Flake8 (pyflakes, pycodestyle, and mccabe). Pulled directly from Lintly , the continuous Python code linting application. E101Indentation contains mixed spaces and tabsE111Indentation is not a multiple of fourE112Expected an indented blockE113Unexpected indentationE114Indentation is not a multiple of four (comment)E115Expected an indented block (comment)E116Unexpected indentation (comment)E121Continuation line under-indented for hanging indentE122Continuation line missing indentation or outdentedE123Closing bracket does not match indentation of opening bracket's lineE124Closing bracket does not match visual indentationE125Continuation line with same indent as next logical lineE126Continuation line over-indented for hanging indentE127Continuation line over-indented for visual indentE128Continuation line under-indented for visual indentE129Visually indented line with same indent as next logical lineE131Continuation line unaligned for hanging indentE133Closing bracket is missing indentationE201Whitespace after '('E202Whitespace before ')'E203Whitespace before ':'E211Whitespace before '('E221Multiple spaces before operatorE222Multiple spaces after operatorE223Tab before operatorE224Tab after operatorE225Missing whitespace around operatorE226Missing whitespace around arithmetic operatorE227Missing whitespace around bitwise or shift operatorE228Missing whitespace around modulo operatorE231Missing whitespace after ',', ';', or ':'E2
6 days ago by sechilds
List of Flake8 rules with interesting justifications for their existence.
Python 
6 days ago by shearichard
Descriptions and examples for each of the rules in Flake8 (pyflakes, pycodestyle, and mccabe). Pulled directly from Lintly, the continuous Python code linting application.
python 
7 days ago by mike
Descriptions and examples for each of the rules in Flake8 (pyflakes, pycodestyle, and mccabe). Pulled directly from Lintly, the continuous Python code linting application.
python  flake8 
7 days ago by Tafkas