Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Detect single backticks at the start of the line #24
Conversation
|
awesome -- thanks for the patch! can you add a quick test to https://github.com/pre-commit/pygrep-hooks/blob/master/tests/hooks_test.py demoing this change? |
|
@asottile i added tests. |
tests/hooks_test.py
Outdated
| r" `JPdzQ2QqF_AQl=t]`", | ||
| r" `97P}j:' :MJhH,JnFCVlE\"pX cM/j6!s:=69Wf>Yc[5mb9z)W?Hb5m{Lt,)f,&x<mr'C3NBDMnr6<'|-b6`>", | ||
| r" `@ ~7JyWy/V9V<th:}y.#``S", | ||
| r" `- 3]1f{I**4Q).6}/#BrEPW.2^v]4n6oia8Xu_fOgh:q_E9Qxp}n:p T)*EId99,[7w^&AX(uQ_7~$)DX*z=t].qLh+ON>sMOt}`", |
asottile
Jan 11, 2020
Member
I'm not interested in this test, please remove it -- tests should be obvious from reading what they are testing -- this one is nonsense
I'm not interested in this test, please remove it -- tests should be obvious from reading what they are testing -- this one is nonsense
mik-laj
Jan 11, 2020
Author
Contributor
Removed
Removed
|
thanks! this has been released as v1.4.4 |
|
What is the ETA for v1.4.4? I would like to update in my project. |
|
negative four minutes ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.

Hello
I am working on the Apache Airflow project and one hook did not detect one error, so I am sending the patch.

Best regards,
Kamil