• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Clinical-Genomics / cg / 10246793773

05 Aug 2024 10:05AM UTC coverage: 83.328%. First build
10246793773

Pull #3500

github

web-flow
Merge bcf99923f into 298fa97ee
Pull Request #3500: Add force store comment

38 of 39 new or added lines in 8 files covered. (97.44%)

17958 of 21551 relevant lines covered (83.33%)

0.97 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/cg/cli/workflow/utils.py
1
"""CLI utility methods."""
2

3
import click
1✔
4

5

6
def validate_force_store_option(force: bool, comment: str | None):
1✔
7
    """Validate that the --comment option is provided when --force is set."""
8
    if force and not comment:
1✔
NEW
9
        raise click.UsageError("The --comment option is required when --force is used")
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc