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

aiidateam / aiida_core / 5723
74%

Build:
DEFAULT BRANCH: develop
Ran 05 Apr 2019 11:27PM UTC
Jobs 4
Files 392
Run time 9min
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

pending completion
5723

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.

23353 of 33127 relevant lines covered (70.5%)

2.58 hits per line

Jobs
ID Job ID Ran Files Coverage
5 5723.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 05 Apr 2019 11:27PM UTC 0
64.58
Travis Job 5723.5
6 5723.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 05 Apr 2019 11:33PM UTC 0
64.52
Travis Job 5723.6
7 5723.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 05 Apr 2019 11:33PM UTC 0
64.24
Travis Job 5723.7
8 5723.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 05 Apr 2019 11:36PM UTC 0
64.16
Travis Job 5723.8
Source Files on build 5723
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5723
  • 677b65d2 on github
  • Prev Build on develop (#5721)
  • Next Build on develop (#5728)
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