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 using this pre-commit config:
- repo: https://github.com/nbQA-dev/nbQA rev: 1.8.5 hooks: - id: nbqa-pyupgrade args: ["--py310-plus"]
and get a failed hook on a notebook cell with this content:
sql = f""" SELECT A, B, `SOME_ÜMLAUT` FROM MY_TABLE WHERE `SOME_ÜMLAUT` >= '{SOME_VARIABLE}' """
where it autofixes the last line to
WHERE `SOME_ÜMLAUT` >= '{{SOME_VARIABLE}' # note the second opening curly bracket
Pyupgrade (@ v3.16.0) itself doesn't have this issue, when run on an equivalent python file.
The text was updated successfully, but these errors were encountered:
thanks @christian-steinmeyer for the report
Sorry, something went wrong.
No branches or pull requests
I'm using this pre-commit config:
and get a failed hook on a notebook cell with this content:
where it autofixes the last line to
Pyupgrade (@ v3.16.0) itself doesn't have this issue, when run on an equivalent python file.
The text was updated successfully, but these errors were encountered: