aboutsummaryrefslogtreecommitdiffstats
path: root/meson/.flake8
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /meson/.flake8
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'meson/.flake8')
-rw-r--r--meson/.flake831
1 files changed, 31 insertions, 0 deletions
diff --git a/meson/.flake8 b/meson/.flake8
new file mode 100644
index 000000000..61876015f
--- /dev/null
+++ b/meson/.flake8
@@ -0,0 +1,31 @@
+[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,
+ # W504: line break after binary operator
+ W504,
+ # A003: builtin class attribute
+ A003
+max-line-length = 120