diff --git a/HACKING.rst b/HACKING.rst index 1246575d8..84f6f3e1c 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -8,7 +8,7 @@ Neutron Style Commandments Neutron Specific Commandments -------------------------- -None so far +- [N320] Validate that LOG messages, except debug ones, have translations Creating Unit Tests ------------------- diff --git a/tox.ini b/tox.ini index 028f8865f..297998a8c 100644 --- a/tox.ini +++ b/tox.ini @@ -46,3 +46,6 @@ ignore = E125,H404 show-source = true builtins = _ exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject + +[hacking] +local-check-factory = neutron.hacking.checks.factory