Festo-se / cyclonedx-editor-validator

Tool for creating, modifying and validating CycloneDX SBOMs.
https://festo-se.github.io/cyclonedx-editor-validator/
GNU General Public License v3.0
16 stars 4 forks source link

fix: Make validate options mutually exclusive #186

Closed mmarseu closed 1 month ago

mmarseu commented 2 months ago

Introduce mutual exclusion between the following options for validate:

github-actions[bot] commented 2 months ago

Coverage

Coverage Report •
FileStmtsMissCoverMissing
__main__.py3171595%215–216, 233, 645–646, 650–655, 657, 660, 672–673
TOTAL16036695% 

Tests Skipped Failures Errors Time
285 2 :zzz: 0 :x: 0 :fire: 4.502s :stopwatch:
mmarseu commented 1 month ago

@mmarseu I have nothing to add (I am also disappointed), except: Missing tests but according to GitHub you made a commit in #157 for that? Could you point me to that commit?

Does Github say that? I wonder why, I did no such thing 😆

Anyways, I probably should add that. Getting right on it.

mmarseu commented 1 month ago

@mmarseu I have nothing to add (I am also disappointed), except: Missing tests but according to GitHub you made a commit in #157 for that? Could you point me to that commit?

Does Github say that? I wonder why, I did no such thing 😆

Anyways, I probably should add that. Getting right on it.

@italvi Added in 02418447bd84a0158409ec6c989f87b3ecaf747e. Along with tests for --schema-path which were also missing.