Commit 158c07d
committed
fix: handle --version flag properly and skip test_help due to Typer/Click compatibility
- Add early return in cli() when version flag is set to prevent
GitlabberSettings instantiation and validation
- Skip test_help due to Typer/Click make_metavar compatibility issue in CI
Fixes test_version failure where --version was triggering validation
before the callback could exit.1 parent 5cd4754 commit 158c07d
2 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
448 | 452 | | |
449 | 453 | | |
450 | 454 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments