Use '#flake8: noqa' to skip file check

Better use '#flake8: noqa' to skip file check, rather than writing
a file path in tox.ini to exclude it.
refer to:
https://flake8.readthedocs.org/en/latest/

Change-Id: I2c0cba1bc8f12d868a091b6777e8c06df91435bf
This commit is contained in:
Chaozhe.Chen 2016-02-19 20:26:29 +08:00
parent 7d67957e45
commit e82fbfa79e
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#
# flake8: noqa
# Copyright 2015 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -60,7 +60,7 @@ deps = {[testenv:docs]deps}
commands = {toxinidir}/setup-test-env.sh {posargs}
[flake8]
exclude = .tox,.eggs,doc,gnocchi/indexer/alembic/versions/1c98ac614015_initial_base.py
exclude = .tox,.eggs,doc
show-source = true
[testenv:genconfig]