diff options
author | Vratko Polak <vrpolak@cisco.com> | 2021-11-29 16:17:15 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2021-12-15 16:11:17 +0000 |
commit | cca05a55f3434d8a031b98f4a496adb8df20c122 (patch) | |
tree | 3aba52b9aa4ec929091dd86875461f895b1331fe /tox.ini | |
parent | aa094dc1a834bf89ebd6549a292fedf2446fb682 (diff) |
Tox: Add checker for CSIT model version
+ Implementation stub so checker can check already.
+ Also add documentation stub for the implemented model.
+ Checker checks also for bumps in documentation version.
- Not comparing implementation and documentation version yet.
Change-Id: I4d19c00315a1c171de325c4494c28f5210635f32
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -26,7 +26,7 @@ [tox] # Fast and brief checkers to front, slow or verbose checkers to back. -envlist = job_spec, copyright_year, gpl_license, +envlist = job_spec, copyright_year, gpl_license, model_version, new_line_length, line_length, autogen, pylint, doc_verify # The following is needed as tox requires setup.py by default. @@ -76,6 +76,10 @@ ignore_outcome = true whitelist_externals = /bin/bash commands = bash {[tox]checker_dir}/line.sh +[testenv:model_version] +whitelist_externals = /bin/bash +commands = bash {[tox]checker_dir}/model_version.sh + [testenv:new_line_length] # Adding .svg, big .rst tables, .yaml and similar still requires long lines. # As current implementation is too dumb to filter those out, |