forked from mirrors/qmk_userspace
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:
parent
d2115f7d1c
commit
f7bdc54c69
15 changed files with 125 additions and 85 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue