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 not 100% sure the pre-commit checks are fully/properly working for ruff formatting of notebooks. Currently we have:
CausalPy/.pre-commit-config.yaml
Lines 26 to 35 in 9a4daf7
Maybe we don't need nbQA at all and solely use ruff-pre-commit? The README at https://github.com/astral-sh/ruff-pre-commit shows that it's pretty simple to make it apply to Jupyter notebooks.
nbQA
ruff-pre-commit
The text was updated successfully, but these errors were encountered:
It is not necessary to use nbqa, the latest ruff pre-commit hooks support jupyter and pyi files directly. The third code block shows how: https://github.com/astral-sh/ruff-pre-commit
Sorry, something went wrong.
drbenvincent
Successfully merging a pull request may close this issue.
I'm not 100% sure the pre-commit checks are fully/properly working for ruff formatting of notebooks. Currently we have:
CausalPy/.pre-commit-config.yaml
Lines 26 to 35 in 9a4daf7
Maybe we don't need
nbQA
at all and solely useruff-pre-commit
? The README at https://github.com/astral-sh/ruff-pre-commit shows that it's pretty simple to make it apply to Jupyter notebooks.The text was updated successfully, but these errors were encountered: