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
As you can see there is a backslash \ before the quotation mark ". I think because of this no regular expressions matches the secret.
What is the expected behavior?
I expect that detect_secrets finds secrets in pure python and jupyter notebooks.
Technical information
Detect secrets version : 1.4.0
Python version : 3.10.13 | packaged by conda-forge | (main, Oct 26 2023, 18:07:37) [GCC 12.3.0]
IPython version : 8.14.0
Tornado version : 6.3.3
Operating system : Linux-4.19.0-21-amd64-x86_64-with-glibc2.35
JupyterLab version : 4.0.9
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
What is the current behavior?
If I open an new Jupyter Notebook (in JupyterLab 4.0.9) and write in the first cell
see secret is not found while using detect secrets as a pre-commit hook.
This is because the cell has the following form in the saved file.
As you can see there is a backslash
\
before the quotation mark"
. I think because of this no regular expressions matches the secret.I expect that
detect_secrets
finds secrets in pure python and jupyter notebooks.Detect secrets version : 1.4.0
Python version : 3.10.13 | packaged by conda-forge | (main, Oct 26 2023, 18:07:37) [GCC 12.3.0]
IPython version : 8.14.0
Tornado version : 6.3.3
Operating system : Linux-4.19.0-21-amd64-x86_64-with-glibc2.35
JupyterLab version : 4.0.9
The text was updated successfully, but these errors were encountered: