Update hacking
Change-Id: Id7a40b422eaa2874b1e1402c12f28a2fa4f45daa
This commit is contained in:
parent
2df622a7d1
commit
4378355164
|
@ -724,5 +724,6 @@ def main():
|
||||||
|
|
||||||
app.run(CONF.listen_host, CONF.listen_port)
|
app.run(CONF.listen_host, CONF.listen_port)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
|
@ -312,6 +312,7 @@ def make_module_group(module_group_id, name=None, modules=None, tag='module'):
|
||||||
'modules': modules or {module_group_id},
|
'modules': modules or {module_group_id},
|
||||||
'tag': tag}
|
'tag': tag}
|
||||||
|
|
||||||
|
|
||||||
BAD_NAME_SUFFIXES = ['Ltd', 'Pvt', 'Inc', 'GmbH', 'AG', 'Corporation', 'Corp',
|
BAD_NAME_SUFFIXES = ['Ltd', 'Pvt', 'Inc', 'GmbH', 'AG', 'Corporation', 'Corp',
|
||||||
'Company', 'Co', 'Group', 'Srl', 'Limited', 'LLC', 'IT']
|
'Company', 'Co', 'Group', 'Srl', 'Limited', 'LLC', 'IT']
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
# Hacking already pins down pep8, pyflakes and flake8
|
# Hacking already pins down pep8, pyflakes and flake8
|
||||||
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
hacking>=3.1.0,<3.2.0 # Apache-2.0
|
||||||
coverage>=4.0 # Apache-2.0
|
coverage>=4.0 # Apache-2.0
|
||||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||||
mock>=2.0,<4.0 # BSD
|
mock>=2.0,<4.0 # BSD
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -36,7 +36,7 @@ commands = python setup.py build_sphinx
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# E123, E125 skipped as they are invalid PEP-8
|
# E123, E125 skipped as they are invalid PEP-8
|
||||||
ignore =
|
ignore = W605, W503, W504, E731
|
||||||
show-source = true
|
show-source = true
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv*,.git,.tox,dist,doc,*lib/python*,*egg,tools,build
|
exclude=.venv*,.git,.tox,dist,doc,*lib/python*,*egg,tools,build
|
||||||
|
|
Loading…
Reference in New Issue