Open pondrejk opened 3 years ago
Made a quick test file - if multiple tokens are provided within one docblock, the last token is what is used - they are not combined automatically.
This comes down to testimony validation and parsing behavior here: https://github.com/SatelliteQE/testimony/blob/master/testimony/parser.py#L116
I think testimony should own validation of these duplicate tokens, not anything specific to robottelo pre-commit. This would include the check in github workflow for PRs, but wouldn't validate during pre-commit.
Moving make test-docstrings
into pre-commit would be a slightly different conversation, because that would be a bit slow for use in pre-commit.
Turns out that incidentally supplying a tag several times within a docstings goes unnoticed in pre-commit checks