Closed chmp closed 6 months ago
See comment here:
The %%file cell magic can be used to create files like .coveragerc from a notebook. %%file .coveragerc [run] plugins = ipytest.cov Would an ipytest.generate_coveragerc() or similar be too much? or Just autoconfig(coverage=True) or something?
The %%file cell magic can be used to create files like .coveragerc from a notebook.
%%file
.coveragerc
%%file .coveragerc [run] plugins = ipytest.cov
Would an ipytest.generate_coveragerc() or similar be too much? or Just autoconfig(coverage=True) or something?
ipytest.generate_coveragerc()
autoconfig(coverage=True)
Comment: something like autoconfig(coverage=True) would be really cool. I would prefer to inject the plugin programitcally, though.
Started work on a first draft here: #114
Implemented in #114
See comment here:
Comment: something like
autoconfig(coverage=True)
would be really cool. I would prefer to inject the plugin programitcally, though.