From 72ea13c8758ee67980ca49ba4c269ee362cdc714 Mon Sep 17 00:00:00 2001 From: brentholtsclaw Date: Thu, 11 Jun 2020 14:54:50 -0700 Subject: [PATCH] Add flake8 configuration file Signed-off-by: brentholtsclaw --- .flake8 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 00000000..54f98fd1 --- /dev/null +++ b/.flake8 @@ -0,0 +1,18 @@ +[flake8] +# Ignore the following errors at this time: +# E201 whitespace after '(' +# E211 whitespace before '(' +# E262 inline comment should start with '# +# E265 block comment should start with '# ' +# E266 too many leanding '#' for block comment +# E271 multiple spaces after keyword +# E272 multiple spaces before keyword +# E401 multiple imports on one line +# E402 module level import not at top of file +# E701 multiple statements on one line (colon) +# F402 module level import not at top of file +# H306 imports not in alphabetical order + +ignore = E201, E211, E262, E265, E266, E271, E272, E401, E402, E701, F402, H306 +max_line_length = 120 +exclude = docs, chipsec_tools, scripts \ No newline at end of file