We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to add a path via the init-hook parameter of pylint, it is working when i just use pylint but shows this error when run with nbqa
init-hook
nbqa pylint notebooks/ --init-hook="import sys; sys.path.append('.')"
No such file or directory: --init-hook=import sys; sys.path.append('.')
nbqa version - 1.6.1 pylint version - 2.16.2
The text was updated successfully, but these errors were encountered:
thanks for the report, I'll take a look
Sorry, something went wrong.
Looks like in here
nbQA/nbqa/cmdline.py
Line 170 in 1409871
it's mistaken for root_dirs. Don't know why.
root_dirs
Looks like it works if you do
nbqa pylint tests/data --init-hook "import sys; sys.path.append('.')"
though, does that work for you?
No branches or pull requests
I'm trying to add a path via the
init-hook
parameter of pylint, it is working when i just use pylint but shows this error when run with nbqanbqa pylint notebooks/ --init-hook="import sys; sys.path.append('.')"
nbqa version - 1.6.1
pylint version - 2.16.2
The text was updated successfully, but these errors were encountered: