Fix testes
Change-Id: I02df01d7ea55533b3c7f2b2b91a21eb05264700a
This commit is contained in:
parent
929c5e9fe3
commit
8fe97473f1
@ -8,13 +8,12 @@ docutils==0.11
|
||||
elasticsearch==2.0.0
|
||||
extras==1.0.0
|
||||
fixtures==3.0.0
|
||||
flake8==2.5.5
|
||||
flake8==2.6.0
|
||||
future==0.16.0
|
||||
gevent==1.2.2
|
||||
gitdb==0.6.4
|
||||
GitPython==1.0.1
|
||||
greenlet==0.4.10
|
||||
hacking==0.12.0
|
||||
influxdb==2.9.2
|
||||
iso8601==0.1.11
|
||||
kazoo==2.2
|
||||
|
@ -1,15 +1,13 @@
|
||||
# The order of packages is significant, because pip processes them in the order
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
bandit>=1.1.0 # Apache-2.0
|
||||
flake8<2.6.0,>=2.5.4 # MIT
|
||||
bandit!=1.6.0,>=1.1.0,<=1.6.2 # Apache-2.0
|
||||
hacking>=1.1.0,<1.2.0 # Apache-2.0
|
||||
coverage!=4.4,>=4.0 # Apache-2.0
|
||||
mock>=2.0.0 # BSD
|
||||
oslotest>=3.2.0 # Apache-2.0
|
||||
stestr>=1.0.0 # Apache-2.0
|
||||
docutils>=0.11 # OSI-Approved Open Source, Public Domain
|
||||
pycodestyle>=2.5.0 # MIT
|
||||
|
||||
# release notes
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
|
||||
|
9
tox.ini
9
tox.ini
@ -80,13 +80,20 @@ commands =
|
||||
max-line-length = 100
|
||||
# TODO: ignored checks should be enabled in the future
|
||||
# H405 multi line docstring summary not separated with an empty line
|
||||
ignore = F821,H405,H306,E302
|
||||
ignore = F821,H405,H306,E302,M001
|
||||
exclude=.venv,.git,.tox,dist,*egg,build
|
||||
|
||||
[bandit]
|
||||
commands =
|
||||
# B303 cassandra metrics repository uses SHA1 for metric_id
|
||||
bandit -r monasca_persister -n5 -s B303 -x monasca_persister/tests
|
||||
[flake8:local-plugins]
|
||||
xtension =
|
||||
|
||||
|
||||
def factory(register):
|
||||
M001 = checks:no_mutable_default_args
|
||||
paths = ./monasca_persister/hacking
|
||||
|
||||
[hacking]
|
||||
local-check-factory = monasca_persister.hacking.checks.factory
|
||||
|
Loading…
x
Reference in New Issue
Block a user