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

googledatalab / pydatalab / 1806 / 4
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 30 Jun 2017 05:09PM UTC
Files 74
Run time 3s
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

30 Jun 2017 05:05PM UTC coverage: 74.868% (+0.5%) from 74.347%
TOX_ENV=coveralls

push

travis-ci

web-flow
Add a feature in line/cell magic parsing, so that '--config1 value1' … (#434)

* Add a feature in line/cell magic parsing, so that '--config1 value1' can be specified in cell 'config1: value1'. This makes the notebook input pretty if the line args are too long.

I ran most of the sample notebooks to make sure it does not break existing notebooks, and also verified in these notebooks line param can be moved to cell too except for sql cell.

Note:

1. We do this only on the last subcommand. If your commands are like "%ml subcommand1 --config1 value1 subcommand2 --config2 value2", then it only tries getting "config2" from cell. But in reality we don't have those cases that there are arguments in multiple subcommands.

2. Only param beginning with '--' is supported.

* Add back tests that were removed accidentally.

* Add an add_cell_argument to CommandParser so cell argument is a first-class thing.

Change the impl so we no longer overriding add_argument(), because that way we will need to also deal with add_exclusive_group() call, which is too hacky. Instead now we find all subparser args by its actions.

It remains true that args added by "add_argument()" can be provided in cell or line. But in one cell input the same values cannot be provided in both.

* json indent.

* Fix test.

* Add a comment.

* Follow CR comments.

3691 of 4930 relevant lines covered (74.87%)

0.75 hits per line

Source Files on job 1806.4 (TOX_ENV=coveralls)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1806
  • Travis Job 1806.4
  • e8788df7 on github
  • Prev Job for TOX_ENV=coveralls on master (#1793.4)
  • Next Job for TOX_ENV=coveralls on master (#1824.4)
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