Add flake8 to our test suite and fix all errors (#7379)

* Add flake8 to our test suite and fix all errors

* Add some documentation
This commit is contained in:
skullydazed 2019-11-20 14:54:18 -08:00 committed by GitHub
parent d2115f7d1c
commit f7bdc54c69
Failed to generate hash of commit
15 changed files with 125 additions and 85 deletions

View file

@ -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.