Add app.wsgi to target of pep8
The app.wsgi file should be adjusted to meet pep8 standards and apply pep8 check to app.wsgi automatically. Change-Id: Ie9be25fb6bd290c65c25907309f482d736fb8a68
This commit is contained in:
parent
8e8fbe9214
commit
282c3b59d6
@ -14,7 +14,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
from magnum.api import app as api_app
|
||||
|
1
tox.ini
1
tox.ini
@ -149,6 +149,7 @@ commands =
|
||||
# H106 Don’t put vim configuration in source files
|
||||
# H203 Use assertIs(Not)None to check for None
|
||||
# H904 Delay string interpolations at logging calls
|
||||
filename = *.py,app.wsgi
|
||||
enable-extensions = H106,H203,H904
|
||||
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,tools,releasenotes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user