-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
You will love this tool. |
Does it block committing if a check fails? Is it easy to opt out of this behavior (either in general, or for a specific commit)? |
If the check fails, it won't let you commit. You can skip the check by using
Yes! It's easy to opt-out. I can add script to opt-out. But for us, I think it's better everybody opts in. |
46a5989
to
953a405
Compare
@znation @TobyRoseman, I provide an option for the user to opt-out. Just let me know if you have more questions. |
334d28f
to
f1ef9fb
Compare
6c89dd4
to
e462845
Compare
Passed all relevant tests. Ready to merge hand in hand with #2943. |
|
||
[tool.black] | ||
line-length = 88 | ||
target-version = ['py27', 'py35', 'py36', 'py37', 'py38'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't support Python 3.8. So you probably don't want that here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's right! I will delete it.
@@ -35,24 +34,32 @@ function linux_patch_sigfpe_handler { | |||
fi | |||
} | |||
|
|||
$PIP install --upgrade "pip>=8.1" | |||
$PIP install --upgrade "pip" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason you removed the >=8.1
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think pip 8.1 is really old now. We don't have to hardcode it. The current pip is already 20.0.2. >=8.1
is redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, you have the --upgrade
so that should work.
cd4c398
to
a111aa2
Compare
@@ -35,24 +34,32 @@ function linux_patch_sigfpe_handler { | |||
fi | |||
} | |||
|
|||
$PIP install --upgrade "pip>=8.1" | |||
$PIP install --upgrade "pip" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, you have the --upgrade
so that should work.
a111aa2
to
61665db
Compare
downstream of #2943
When I do this commit, it performs a bunch of correctness checks for me. The setup is one-time thing.