Metadata-Version: 2.1
Name: nbdev-ignore
Version: 0.0.2
Summary: add an ignore directive to hide the cell and avoid execution during testing and docs generation in Jupyter notebooks when using nbdev for development.
Home-page: https://github.com/feynlee/nbdev-ignore
Author: Ziyue Li
Author-email: liziyue241@gmail.com
License: Apache Software License 2.0
Keywords: nbdev jupyter notebook python
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: nbdev
Provides-Extra: dev

Nbdev-ignore
================

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

## Install

``` sh
pip install nbdev-ignore
```

# How it works

There’s only one function `ignore_` in this module. It’s exactly the
same as the [hide\_]() processor in `nbdev`, so that “\#\| ignore”
serves the same purpose as “\#\| hide”. For details on how it works, see
[]().

In order for it to also serve as a test flag, we will need to manually
add it to `tst_flags` (see below), as currently there’s no way to plug
it into the `nbdev_test` process.

## How to use

To enable the `#| ignore` directive, in your settings.ini make sure to:

- Add `nbdev_ignore` as a requirement
- Add `procs = nbdev_igore.core:ignore_`, where it should point to the
  exact function being called
- Add it to test flags: `tst_flags = ignore`, so that cells with this
  directive also avoids testing. If you already have other test flags,
  separate them with space. For example, if you already have `notest` as
  your test flag, then `tst_flags = notest ignore`.
