To check that our code is in working condition and follows the style guidelines every commit, we should create a config for tox so that it works with the existing tox-docker Jenkins jobs.
This would then be executed by jenkins-bot
We could use something else other than tox, but we are sticking to tox so that we conform to the existing DBA codebase (they all use tox)
In future this should be extended for unit tests of the Python code
Tasks
- Create tox config for bernard repository to validate styles (flake8?) with jenkins-bot
- In future add commands for unit tests check
Acceptance
- Able to run tests on Wikimedia Jenkins for style guidelines.
- jenkins-bot can be called successfully on the bernard repository