Update hacking

Change-Id: Id7a40b422eaa2874b1e1402c12f28a2fa4f45daa
This commit is contained in:
Sergey Nikitin 2020-09-18 11:52:52 +04:00
parent 2df622a7d1
commit 4378355164
5 changed files with 33 additions and 31 deletions

View File

@ -724,5 +724,6 @@ def main():
app.run(CONF.listen_host, CONF.listen_port)
if __name__ == '__main__':
main()

View File

@ -312,6 +312,7 @@ def make_module_group(module_group_id, name=None, modules=None, tag='module'):
'modules': modules or {module_group_id},
'tag': tag}
BAD_NAME_SUFFIXES = ['Ltd', 'Pvt', 'Inc', 'GmbH', 'AG', 'Corporation', 'Corp',
'Company', 'Co', 'Group', 'Srl', 'Limited', 'LLC', 'IT']

View File

@ -3,7 +3,7 @@
# process, which may cause wedges in the gate later.
# 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
fixtures>=3.0.0 # Apache-2.0/BSD
mock>=2.0,<4.0 # BSD

View File

@ -36,7 +36,7 @@ commands = python setup.py build_sphinx
[flake8]
# E123, E125 skipped as they are invalid PEP-8
ignore =
ignore = W605, W503, W504, E731
show-source = true
builtins = _
exclude=.venv*,.git,.tox,dist,doc,*lib/python*,*egg,tools,build