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
I ran the following in a powershell core prompt and git bash in Windows:
nbqa ruff 'nbqa test.ipynb'
The output was as follows:
nbqa:1:1: E902 The system cannot find the file specified. (os error 2)
test62najpm6.py:1:1: E902 The system cannot find the file specified. (os error 2)
Found 2 errors.
error: Failed to lint test62najpm6.py: The system cannot find the file specified. (os error 2)
error: Failed to lint nbqa: The system cannot find the file specified. (os error 2)
I confimed that when the space was removed, the command ran as expected. It also works with black, flake8, isort instead of ruff.
I also tried wrapping the file name in double quotes and it still doesn't work.
I can get it to work by adding the --nbqa-shell option. I also confirmed that it works in WSL.
Happy to use --nbqa-shell for now.
The text was updated successfully, but these errors were encountered:
I ran the following in a powershell core prompt and git bash in Windows:
nbqa ruff 'nbqa test.ipynb'
The output was as follows:
I confimed that when the space was removed, the command ran as expected. It also works with black, flake8, isort instead of ruff.
I also tried wrapping the file name in double quotes and it still doesn't work.
I can get it to work by adding the
--nbqa-shell
option. I also confirmed that it works in WSL.Happy to use
--nbqa-shell
for now.The text was updated successfully, but these errors were encountered: