nbQA-dev / nbQA

Run ruff, isort, pyupgrade, mypy, pylint, flake8, and more on Jupyter Notebooks
https://nbqa.readthedocs.io/en/latest/index.html
MIT License
1.04k stars 41 forks source link

ENH: add nbqa-shell #724

Closed pwoolvett closed 2 years ago

pwoolvett commented 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.

fixes #695

MarcoGorelli commented 2 years ago

Hi @pwoolvett - reckon this option needs to be configurable from pyproject.toml?

MarcoGorelli commented 2 years ago

Fixed this up a bit so it's configurable from pyproject.toml - thanks for your PR!