Update code style checking.

- Exempt overlong URL lines from checks.
- Omit some of the more painful PEP items.
This commit is contained in:
Todd Gamblin
2016-05-10 23:45:41 -07:00
parent 7d74e209f3
commit 2aa4387eba
6 changed files with 39 additions and 15 deletions

View File

@@ -0,0 +1,10 @@
# -*- conf -*-
[flake8]
# Descriptions of ignored checks:
#
# E221: multiple spaces before operator
# E241: multiple spaces after ,
# F403: disable wildcard import
#
ignore = E221,E241,F403
max-line-length = 79

View File

@@ -0,0 +1,11 @@
# -*- conf -*-
[flake8]
# Descriptions of ignored checks:
#
# E221: multiple spaces before operator
# E241: multiple spaces after ,
# F403: disable wildcard import
# F821: undefined name (needed for build commands)
#
ignore = E221,E241,F403,F821
max-line-length = 79