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

Clinical-Genomics / cg / 10246809381

05 Aug 2024 10:06AM UTC coverage: 84.336%. First build
10246809381

Pull #3500

github

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

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

20896 of 24777 relevant lines covered (84.34%)

0.84 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