neutron library has a good hacking rules set, we can use these rules
instead of reinvent the wheel. These such rules are:
- [N521] Validate that jsonutils module is used instead of json
- [N532] Validate that LOG.warning is used instead of LOG.warn. The
latter is deprecated.
- [N537] Don't translate logs.
- [N534] Exception messages should be translated
It also enables H904, which allows the logging package to skip
creating the formatted log message if the message is not going
to be emitted because of the current log level.
Change-Id: I3b3649bbe8a7a3ae69d3ea1553923567b5a350d7
Closes-Bug: #1704691
Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None
This patch is to enable the H106 and H203 checks in fuxi project.
Change-Id: I354c9d654d96838ac43d1ca4c73c70650adc5d5c
With this patch the tox command only runs the unit tests at
./fuxi/tests/unit folder. Another test job is added for fullstack
which is meant to be run only with a working devstack setup and
will run at the gate with tempest. You can run the tests there
for debugging with 'tox -e fullstack'
Change-Id: I2942ccfdf9a97dce331de9b27d9c485de3e112c3
Partial-Implements: blueprint fullstack-testing
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the
convenience py35 venv.
Change-Id: Idb79159a4fabe58659e03d10cd5ca84c3c7c5394