mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix pre-commit
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
126cbc30fb
commit
737a18edc6
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
--constraint=../pkg/py{py_version}/{platform}.txt
|
||||
|
||||
attrs
|
||||
python-tools-scripts >= 0.18.5
|
||||
python-tools-scripts >= 0.18.6
|
||||
boto3
|
||||
pyyaml
|
||||
jinja2
|
||||
|
|
|
@ -939,7 +939,7 @@ def get_pr_test_labels(
|
|||
ctx.exit(1)
|
||||
|
||||
if "pull_request" not in gh_event:
|
||||
ctx.warning("The 'pull_request' key was not found on the event payload.")
|
||||
ctx.warn("The 'pull_request' key was not found on the event payload.")
|
||||
ctx.exit(1)
|
||||
|
||||
pr = gh_event["pull_request"]["number"]
|
||||
|
@ -1160,6 +1160,9 @@ def upload_coverage(ctx: Context, reports_path: pathlib.Path, commit_sha: str =
|
|||
ctx.error("Could not find the path to the 'codecov' binary")
|
||||
ctx.exit(1)
|
||||
|
||||
if TYPE_CHECKING:
|
||||
assert commit_sha is not None
|
||||
|
||||
codecov_args = [
|
||||
codecov,
|
||||
"--nonZero",
|
||||
|
|
Loading…
Add table
Reference in a new issue