Add tox.ini and few checker scripts 33/17933/1
authorVratko Polak <vrpolak@cisco.com>
Fri, 14 Sep 2018 15:09:35 +0000 (17:09 +0200)
committerVratko Polak <vrpolak@cisco.com>
Thu, 28 Feb 2019 12:46:34 +0000 (13:46 +0100)
commit8fedbb66528646f2d9afaf1b640c99dbf75b969b
treeac1db897ed41b609c1566582856ef55593e1e68d
parent583ba8182192de288f5b9a291ac5aaa13a4dc8ab
Add tox.ini and few checker scripts

(cherry-pick from master, also pasted current bash code style)

The plan is to change csit-validate-pylint-master job
to fail if (and only if) tox fails.

This will allow us to easily add checks,
with or without the voting power.

Each check produces log (ignored in .gitignore)
the voting job can archive.

+ Made autogen quiet by default, to avoid spam in autogen checker.
+ Unified the way direct csit subdirectories are git-ignored.

Change-Id: I6477b1ef7da6d3e30f68c5850d04900cc52f431e
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
14 files changed:
.gitignore
docs/bash_code_style.rst [new file with mode: 0644]
resources/libraries/bash/entry/bootstrap_verify_perf.sh
resources/libraries/bash/entry/bootstrap_vpp_device.sh
resources/libraries/bash/entry/check/README.txt [new file with mode: 0644]
resources/libraries/bash/entry/check/autogen.sh [new file with mode: 0644]
resources/libraries/bash/entry/check/line.sh [new file with mode: 0644]
resources/libraries/bash/entry/check/pylint.sh [new file with mode: 0644]
resources/libraries/bash/entry/tox.sh [new file with mode: 0755]
resources/libraries/bash/function/common.sh
resources/libraries/python/autogen/Copyright.py [deleted file]
resources/libraries/python/autogen/Regenerator.py
tox-requirements.txt [new file with mode: 0644]
tox.ini [new file with mode: 0644]