anaconda / anaconda-project

Tool for encapsulating, running, and reproducing data science projects
https://anaconda-project.readthedocs.io/en/latest/
Other
217 stars 88 forks source link

[BUG] Limit output of "no commands to run notebooks ..." #343

Open bkreider opened 2 years ago

bkreider commented 2 years ago

I have an environment inside my project with nbclient and it has tons of tests as notebooks and every command with anaconda-project has a full page of warnings:

Potential issues with this project:

  • anaconda-project.yml: No commands run notebooks test2/Lib/site-packages/nbclient/tests/files/Autokill.ipynb, test2/Lib/site-packages/nbclient/tests/files/Check History in Memory.ipynb, test2/Lib/site-packages/nbclient/tests/files/Clear Output.ipynb, test2/Lib/site-packages/nbclient/tests/files/Disable Stdin.ipynb, test2/Lib/site-packages/nbclient/tests/files/Empty Cell.ipynb, test2/Lib/site-packages/nbclient/tests/files/Factorials.ipynb, test2/Lib/site-packages/nbclient/tests/files/HelloWorld.ipynb, test2/Lib/site-packages/nbclient/tests/files/Inline Image.ipynb, test2/Lib/site-packages/nbclient/tests/files/Interrupt.ipynb, test2/Lib/site-packages/nbclient/tests/files/JupyterWidgets.ipynb, test2/Lib/site-packages/nbclient/tests/files/Other Comms.ipynb, test2/Lib/site-packages/nbclient/tests/files/Output.ipynb, test2/Lib/site-packages/nbclient/tests/files/Parallel Execute A.ipynb, test2/Lib/site-packages/nbclient/tests/files/Parallel Execute B.ipynb, test2/Lib/site-packages/nbclient/tests/files/SVG.ipynb, test2/Lib/site-packages/nbclient/tests/files/Skip Exceptions with Cell Tags.ipynb, test2/Lib/site-packages/nbclient/tests/files/Skip Exceptions.ipynb, test2/Lib/site-packages/nbclient/tests/files/Sleep1s.ipynb, test2/Lib/site-packages/nbclient/tests/files/Unicode.ipynb, test2/Lib/site-packages/nbclient/tests/files/UnicodePy3.ipynb, test2/Lib/site-....
jbednar commented 2 years ago

I don't even think that this warning should be enabled by default; I don't recall it ever warning me about something I didn't know about, and it often warns about things that are not a problem at all.