Closed pwoolvett closed 2 years ago
Enable a new flag --nbqa-shell. When set, instructs nbqa to run the command argument directly, instead of importing it as a module via python.
--nbqa-shell
sp.run
python -m
fixes #695
Hi @pwoolvett - reckon this option needs to be configurable from pyproject.toml?
pyproject.toml
Fixed this up a bit so it's configurable from pyproject.toml - thanks for your PR!
Enable a new flag
--nbqa-shell
. When set, instructs nbqa to run the command argument directly, instead of importing it as a module via python.sp.run
directly instead ofpython -m
usage when flag is set.fixes #695