Skip to content
Snippets Groups Projects
Verified Commit 0fbc80df authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Adapt Vale config to be consistent with GSO

parent f1ac14cd
No related branches found
No related tags found
1 merge request!39Feature/nat 231 improve performance
Pipeline #83782 passed
......@@ -8,6 +8,16 @@ Packages = proselint, Microsoft
[*]
BasedOnStyles = Vale, proselint, Microsoft
; Found to be too intrusive
Microsoft.Passive = NO
; We are not a general audience
Microsoft.GeneralURL = NO
; It's okay to leave TODOs in the code, that's what they're for
proselint.Annotations = NO
; Replacing a ... with … shouldn't be holding back the entire CI pipeline
proselint.Typography = warning
; Same applies for not using contractions
Microsoft.Contractions = warning
[formats]
py = rst
......@@ -122,7 +122,7 @@ def _run_playbook_proc(job_id: str, playbook_path: str, extra_vars: dict, invent
parsed_output.append(task_output["event_data"])
except json.JSONDecodeError:
# If the line cannot be decoded as JSON, include it in its entirety.
# If the line can't be decoded as JSON, include it in its entirety.
parsed_output.append({"invalid_json": line})
payload = [
......@@ -148,9 +148,11 @@ def run_playbook(playbook_path: str, extra_vars: dict, inventory: str, callback:
:param dict extra_vars: Any extra vars needed for the playbook to run.
:param [str] inventory: The inventory that the playbook is executed
against.
:param :class:`HttpUrl` callback: Callback URL where the playbook should send a status
update when execution is completed. This is used for
workflow-orchestrator to continue with the next step in a workflow.
:return: Result of playbook launch, this could either be successful or
unsuccessful.
:rtype: :class:`PlaybookLaunchResponse`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment