From: Pierce Lopez Date: Mon, 1 Jan 2018 18:42:52 +0000 (-0500) Subject: add flake8 config X-Git-Tag: v5.0.0~20^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9a7ee5542ebfe01e05e059767b80556aa2c1466;p=thirdparty%2Ftornado.git add flake8 config ignore some style checks and subdirectories --- diff --git a/.flake8 b/.flake8 new file mode 100644 index 000000000..be0cadde8 --- /dev/null +++ b/.flake8 @@ -0,0 +1,16 @@ +[flake8] +exclude = .git,.tox,__pycache__ +max-line-length = 100 +ignore = + # E231 missing whitespace after ',' + E231, + # E265 block comment should start with '# ' + E265, + # E266 too many leading '#' for block comment + E266, + # E402 module level import not at top of file + E402, + # E722 do not use bare except + E722, + # E741 ambiguous variable name 'l' + E741,