Skip to content

Commit

Permalink
Update JSON checks in pre-commit and format files accordingly
Browse files Browse the repository at this point in the history
This commit introduces the following changes:
* remove requirement for sorted keys
* enable autofmt of JSON files
* reformat JSON files

Internal-tag: [#55720]
Signed-off-by: Robert Winkler <[email protected]>
  • Loading branch information
rw1nkler committed Feb 27, 2024
1 parent 65253bb commit 6ad0d49
Show file tree
Hide file tree
Showing 3 changed files with 1,512 additions and 1,511 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ repos:
- id: end-of-file-fixer
- id: mixed-line-ending
- id: pretty-format-json
args: ["--autofix", "--top-keys=version,metadata"]
- id: requirements-txt-fixer
- id: trailing-whitespace

Expand Down
Loading

0 comments on commit 6ad0d49

Please sign in to comment.