Skip to content

Commit

Permalink
Tooling updates
Browse files Browse the repository at this point in the history
  • Loading branch information
maddenp-noaa committed Jan 28, 2025
1 parent ab7c70a commit f616b2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

* @Byrnetp @NaureenBharwaniNOAA @christinaholtNOAA @elcarpenterNOAA @maddenp-noaa
* @NaureenBharwaniNOAA @christinaholtNOAA @elcarpenterNOAA @maddenp-noaa
5 changes: 3 additions & 2 deletions format
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ echo "=> Running docformatter"
(cd src && docformatter . || test $? -eq 3)

echo "=> Running jq"
for a in $(find src -not -path "*/.*" -type f -name "*.json*"); do
b=$(jq -S . $a) && echo "$b" >$a || (echo " in $a"; false)
for f in $(find src -not -path "*/.*" -type f -name "*.json" -o -name "*.jsonschema"); do
jq -S . $f >$f.new || (echo " in $f" && rm $f.new && false)
cmp --quiet $f.new $f && rm $f.new || mv $f.new $f
done

0 comments on commit f616b2b

Please sign in to comment.