Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# https://editorconfig.org/

root = true

[*]
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8

[*.md]
#inside code block, indentation could be anything
indent_size = unset

[*.py]
indent_size = 4
# 88 is the default for black formatter
# 79 is PEP8's recommendation
# 119 is django's recommendation
max_line_length = 88

# The JSON files contain newlines inconsistently
[*.json]
insert_final_newline = unset

# Makefiles always use tabs for indentation
[Makefile]
indent_style = tab
indent_size = 4
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ jobs:
cache: npm
cache-dependency-path: tools/package-lock.json
- name: Install dependencies
run: |
cd tools
npm install -g --no-fund ajv-cli ajv-formats
run: npm ci --no-fund
working-directory: tools
- name: Run Validate
run: ./tools/validate.sh
run: npm run validate
working-directory: tools

spellcheck:
name: Spellcheck (en_US)
Expand Down
2 changes: 1 addition & 1 deletion schemas/pipelinerunfinished.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"additionalProperties": false,
"type": "object",
"required": ["version", "id", "source", "type", "timestamp"]
"required": ["specversion", "id", "source", "type", "timestamp"]
},
"subject": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/testcaserunfinished.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"additionalProperties": false,
"type": "object",
"required": ["version", "id", "source", "type", "timestamp"]
"required": ["specversion", "id", "source", "type", "timestamp"]
},
"subject": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/testsuiterunfinished.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"additionalProperties": false,
"type": "object",
"required": ["version", "id", "source", "type", "timestamp"]
"required": ["specversion", "id", "source", "type", "timestamp"]
},
"subject": {
"properties": {
Expand Down
Loading