You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use docs instead of docs/* it should work.
I tried docs/**/* and it also doesn't work, looks like this is an upstream issue with flake8 (at least on windows where it expands the pattern to a path with \\).
Also, you should rather use extend-exclude instead of exclude, that way you won't overwrite the default values of exclude (['.svn', 'CVS', '.bzr', '.hg', '.git', '__pycache__', '.tox', '.eggs', '*.egg', '.ipynb_checkpoints'])
If the notebook is failing because you want to show off some bad practice, you could just ignore those cells/the specific error in those cells (see cell-tags), that way you can show off the bad practice without accidentally adding some yourself in other places of the notebooks.
Feel free to close this issue if this resolves your problem.
jbloom
added a commit
to dms-vep/dms-vep-pipeline
that referenced
this issue
Jun 18, 2022
I'm using
flake8_nb
version 0.4.0.I have a subdirectory in my project called
./docs/
which contains Jupyter notebooks that fail the flaking, e.g../docs/fail_flake8.ipynb
.My
.flake8_nb
configuration file includesdocs/*
:Nonetheless,
flake8_nb
reports failures on the./docs/fail_flake8.ipynb
notebook.The text was updated successfully, but these errors were encountered: