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

aiidateam / aiida_core / 5723 / 6
74%
develop: 74%

Build:
DEFAULT BRANCH: develop
Ran 05 Apr 2019 11:33PM UTC
Files 392
Run time 19s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Apr 2019 11:12PM UTC coverage: 64.521% (-0.05%) from 64.572%
TEST_AIIDA_BACKEND=django TEST_TYPE="tests"

push

travis-ci

web-flow
Automatically add optional endopts marker to `verdi` commands (#2720)

Some `verdi` commands have options with the `MultipleValueOption` class
which allow to pass multi values to an option without repeating the flag.
However, this introduces the traditional ambiguity about when the option
values stop and become for example a positional argument, since the
option matching is greedy. The endopts marker `--` is traditionally used
to signal to the parser that the options have ended and everything that
follows should be interpreted as positional arguments.

To reduce the confusion of this feature, it would help if the usage
string of command with multi value options would include the endopts
marker. Here we override the `collect_usage_pieces` of the
`click.Command` class, which will ensure a usage string like e.g.:

    verdi export create [OPTIONS] [--] OUTPUT_FILE

The added `[--]` indicate that the endopts can optionally be used.

21374 of 33127 relevant lines covered (64.52%)

0.65 hits per line

Source Files on job 5723.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 21
  • Source Changed 1
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1459
  • Travis Job 5723.6
  • 677b65d2 on github
  • Prev Job for TEST_AIIDA_BACKEND=django TEST_TYPE="tests" on develop (#5721.5)
  • Next Job for TEST_AIIDA_BACKEND=django TEST_TYPE="tests" on develop (#5728.5)
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