-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit faa39413f33651dc6c2eb246663e3d26411a6f69 Author: Christopher J. Markiewicz <[email protected]> commit 280f083 Author: Anthony Galassi <[email protected]> commit 2f25ff2 Author: Anthony Galassi <[email protected]> commit db08e58 Author: Anthony Galassi <[email protected]> commit 01ead2e Author: Anthony Galassi <[email protected]> commit a9177e3 Author: Anthony Galassi <[email protected]> commit 816d415 Author: Anthony Galassi <[email protected]> commit b80e502 Author: Anthony Galassi <[email protected]> commit c0d082a Author: Anthony Galassi <[email protected]> commit 437cab4 Author: Anthony Galassi <[email protected]>
- Loading branch information
1 parent
df45cee
commit 59ec7c7
Showing
4 changed files
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[*.yaml] | ||
max_line_length = 120 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
quote_type = single |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.0.1 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-json | ||
- id: check-ast | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-json | ||
- id: check-ast | ||
- id: check-added-large-files | ||
- id: check-case-conflict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
runprettier: | ||
prettier --write "src/schema/**/*.yaml" | ||
python3 -m yamllint -f standard src/schema/ -c .yamllint.yml | ||
|
||
SCHEMA_CHANGES := $(shell git diff --name-only | grep src/schema/*.yaml) | ||
|
||
commitschema: | ||
@echo SCHEMA_CHANGES $(SCHEMA_CHANGES) | ||
git add src/schema/*.yaml && \ | ||
git commit -m "[git-blame-ignore-rev] prettified schema files." && \ | ||
git log --grep "\[git-blame-ignore-rev\]" --pretty=format:"# %ai - %ae - %s%n%H" >> .git-blame-ignore-revs \ | ||
|| true | ||
|
||
formatschema: runprettier commitschema | ||
|
||
all: | ||
|
||
.PHONY: runprettier commitschema |