We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f92eb73 commit 5dc61adCopy full SHA for 5dc61ad
2 files changed
.pre-commit-config.yaml
@@ -35,6 +35,5 @@ repos:
35
rev: 'a66e98df7b4aeeb3724184b332785976d062b92e'
36
hooks:
37
- id: mypy
38
- language: system
39
args: [ "--ignore-missing-imports" ]
40
exclude: 'tests/'
reportportal_client/core/rp_requests.py
@@ -465,7 +465,11 @@ def _create_request(**kwargs) -> dict:
465
issue_payload: Any = None
466
status = kwargs.get("status")
467
issue = kwargs.get("issue")
468
- if issue is None and (status is not None and status.lower() == "skipped") and not kwargs.get("is_skipped_an_issue"):
+ if (
469
+ issue is None
470
+ and (status is not None and status.lower() == "skipped")
471
+ and not kwargs.get("is_skipped_an_issue")
472
+ ):
473
issue_payload = {"issue_type": "NOT_ISSUE"}
474
elif issue is not None:
475
issue_payload = cast(Issue, issue).payload
0 commit comments