ipython / ipython/traitlets

Issue parsing a single instance of TagRemovePreprocessor

Ouverte
#645 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
653
Forks
217
Merge moyen
2 j 21 h
PR mergées (30 j)
2

Description

```
pip show traitlets
Name: traitlets
Version: 5.0.5
```
Calling `voila` with the `TagRemovePreprocessor.remove_cell_tags` option fails for a single tag:
```
voila notebook.ipynb --TagRemovePreprocessor.remove_cell_tags tag
....
traitlets.traitlets.TraitError: The 'remove_cell_tags' trait of a TagRemovePreprocessor instance expected a set, not the str 'tag'.
```

But when providing 2 tags, there's no issue:

`voila .\notebook.ipynb --TagRemovePreprocessor.remove_cell_tags tag0 --TagRemovePreprocessor.remove_cell_tags tag1`

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.