aboutsummaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-06-23 12:40:35 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-07-11 22:37:25 +0300
commit4b9625ac0697a205b9714b60403ae2befa7fe781 (patch)
treeec1eb85fb55e5081b02b41de4995ef88f623511f /.flake8
parentefea48788ab29c45a83f6a50d39fd7d0689f5f0e (diff)
downloadmeson-4b9625ac0697a205b9714b60403ae2befa7fe781.zip
meson-4b9625ac0697a205b9714b60403ae2befa7fe781.tar.gz
meson-4b9625ac0697a205b9714b60403ae2befa7fe781.tar.bz2
ENH: metadata PEP390 setup.cfg
https for Meson docs url Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Diffstat (limited to '.flake8')
-rw-r--r--.flake833
1 files changed, 33 insertions, 0 deletions
diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000..d818786
--- /dev/null
+++ b/.flake8
@@ -0,0 +1,33 @@
+[flake8]
+ignore =
+ # E241: multiple spaces after ':'
+ E241,
+ # E251: unexpected spaces around keyword / parameter equals
+ E251,
+ # E261: at least two spaces before inline comment
+ E261,
+ # E265: block comment should start with '# '
+ E265,
+ # E501: line too long
+ E501,
+ # E302: expected 2 blank lines, found 1
+ E302,
+ # E305: expected 2 blank lines after class or function definition, found 1
+ E305,
+ # E401: multiple imports on one line
+ E401,
+ # E266: too many leading '#' for block comment
+ E266,
+ # E402: module level import not at top of file
+ E402,
+ # E731: do not assign a lambda expression, use a def (too many false positives)
+ E731
+ # E741: ambiguous variable name 'l'
+ E741
+ # E722: do not use bare except'
+ E722
+ # W504: line break after binary operator
+ W504
+ # A003: builtin class attribute
+ A003
+max-line-length = 120