- add linter in order to detect bashisms
- add pre-commit linters for trailing blanks,tabs,etc
- exclude them for honolulu and frankfurt and guilin branches
since they are not intended for former active branches
https://gerrit.onap.org/r/c/oom/+/120407
Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I2f8832725f7b9851dca4907f442145ec1aaab872
tox-envs: "docs,docs-linkcheck"
pattern: "docs/**"
parallel: true
+ - "checkbashisms":
+ tox-dir: "."
+ tox-envs: "checkbashisms"
+ pattern: "**"
+ - "pre-commit":
+ tox-dir: "."
+ tox-envs: "pre-commit"
+ pattern: "**"
stream:
- "master":
branch: "master"
branch: "frankfurt"
- "guilin":
branch: "guilin"
+ exclude:
+ - stream: "honolulu"
+ subproject: "checkbashisms"
+ - stream: "frankfurt"
+ subproject: "checkbashisms"
+ - stream: "guilin"
+ subproject: "checkbashisms"
+ - stream: "honolulu"
+ subproject: "pre-commit"
+ - stream: "frankfurt"
+ subproject: "pre-commit"
+ - stream: "guilin"
+ subproject: "pre-commit"