Update code style checking.
- Exempt overlong URL lines from checks. - Omit some of the more painful PEP items.
This commit is contained in:
10
share/spack/qa/flake8-framework
Normal file
10
share/spack/qa/flake8-framework
Normal 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
|
11
share/spack/qa/flake8-packages
Normal file
11
share/spack/qa/flake8-packages
Normal 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
|
Reference in New Issue
Block a user