From f7bdc54c697ff24bec1bd0781666ac05401bafb2 Mon Sep 17 00:00:00 2001 From: skullydazed Date: Wed, 20 Nov 2019 14:54:18 -0800 Subject: Add flake8 to our test suite and fix all errors (#7379) * Add flake8 to our test suite and fix all errors * Add some documentation --- setup.cfg | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 528512ac6..9e178ad65 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,4 +1,13 @@ # Python settings for QMK +[flake8] +ignore = + # QMK is ok with long lines. + E501 +per_file_ignores = + **/__init__.py:F401 + +# Let's slowly crank this down +max_complexity=16 [yapf] # Align closing bracket with visual indentation. -- cgit v1.2.3