diff options
author | skullydazed <skullydazed@users.noreply.github.com> | 2019-11-20 14:54:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-20 14:54:18 -0800 |
commit | f7bdc54c697ff24bec1bd0781666ac05401bafb2 (patch) | |
tree | 704511c89bd36582fcd0a4a05ae4812222d9b11c /setup.cfg | |
parent | d2115f7d1c3a314e997ec6800b6741d83115d6be (diff) | |
download | qmk_firmware-f7bdc54c697ff24bec1bd0781666ac05401bafb2.tar.gz qmk_firmware-f7bdc54c697ff24bec1bd0781666ac05401bafb2.zip |
Add flake8 to our test suite and fix all errors (#7379)
* Add flake8 to our test suite and fix all errors
* Add some documentation
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,4 +1,13 @@ | |||
1 | # Python settings for QMK | 1 | # Python settings for QMK |
2 | [flake8] | ||
3 | ignore = | ||
4 | # QMK is ok with long lines. | ||
5 | E501 | ||
6 | per_file_ignores = | ||
7 | **/__init__.py:F401 | ||
8 | |||
9 | # Let's slowly crank this down | ||
10 | max_complexity=16 | ||
2 | 11 | ||
3 | [yapf] | 12 | [yapf] |
4 | # Align closing bracket with visual indentation. | 13 | # Align closing bracket with visual indentation. |