mirror of https://github.com/zulip/zulip.git
lint: Reformat YAML files with Prettier.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
40f76bb030
commit
2794bc1ef4
|
@ -227,7 +227,6 @@ jobs:
|
|||
path: ./var/xunit-test-results/casper/
|
||||
- *notify_failure_status
|
||||
|
||||
|
||||
"focal-backend":
|
||||
docker:
|
||||
# This is built from tools/ci/images/focal/Dockerfile.
|
||||
|
|
|
@ -22,9 +22,9 @@ jobs:
|
|||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
|
||||
# Override language selection by uncommenting this and choosing your languages
|
||||
# with:
|
||||
# languages: go, javascript, csharp, python, cpp, java
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# See https://github.com/returntocorp/semgrep/blob/experimental/docs/config/advanced.md
|
||||
|
||||
rules:
|
||||
####################### PYTHON RULES #######################
|
||||
####################### PYTHON RULES #######################
|
||||
- id: deprecated-render-usage
|
||||
pattern: django.shortcuts.render_to_response(...)
|
||||
message: "Use render() (from django.shortcuts) instead of render_to_response()"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
test1:
|
||||
responses:
|
||||
'200':
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
|
@ -31,23 +31,15 @@ test1:
|
|||
type: string
|
||||
example:
|
||||
{
|
||||
"top_array": [
|
||||
{
|
||||
"obj": {
|
||||
"str3": "test"
|
||||
}
|
||||
},
|
||||
"top_array":
|
||||
[
|
||||
{
|
||||
"str1": "success",
|
||||
"str2": "success"
|
||||
}
|
||||
]
|
||||
]
|
||||
{ "obj": { "str3": "test" } },
|
||||
[{ "str1": "success", "str2": "success" }],
|
||||
],
|
||||
}
|
||||
test2:
|
||||
responses:
|
||||
'200':
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
|
@ -79,24 +71,15 @@ test2:
|
|||
type: string
|
||||
example:
|
||||
{
|
||||
"top_array": [
|
||||
{
|
||||
"obj": {
|
||||
"str3": "test",
|
||||
"str4": "extraneous"
|
||||
}
|
||||
},
|
||||
"top_array":
|
||||
[
|
||||
{
|
||||
"str1": "success",
|
||||
"str2": "success"
|
||||
}
|
||||
]
|
||||
]
|
||||
{ "obj": { "str3": "test", "str4": "extraneous" } },
|
||||
[{ "str1": "success", "str2": "success" }],
|
||||
],
|
||||
}
|
||||
test3:
|
||||
responses:
|
||||
'200':
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
|
@ -124,17 +107,9 @@ test3:
|
|||
type: string
|
||||
example:
|
||||
{
|
||||
"top_array": [
|
||||
{
|
||||
"obj": {
|
||||
"str3": "test"
|
||||
}
|
||||
},
|
||||
"top_array":
|
||||
[
|
||||
{
|
||||
"str1": "success",
|
||||
"str2": "success"
|
||||
}
|
||||
]
|
||||
]
|
||||
{ "obj": { "str3": "test" } },
|
||||
[{ "str1": "success", "str2": "success" }],
|
||||
],
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue