Skip to content

Commit

Permalink
replace pritter with google's yamlfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kjmeagher committed Aug 30, 2024
1 parent dfcf88a commit d4b29fa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
run: |
tar -czvf simweights_docs.tar.gz -C_build/html .
curl -XPUT -i --data-binary @simweights_docs.tar.gz https://docs.icecube.aq/api/upload?path=simweights/${{ github.ref_name }} -u icecube:${{ secrets.ICECUBE_PASSWORD }}
# - name: Check Links
# working-directory: ./docs
# env:
# ICECUBE_PASSWORD: ${{ secrets.ICECUBE_PASSWORD }}
# run: make linkcheck SPHINXOPTS="-W --keep-going"
# - name: Check Links
# working-directory: ./docs
# env:
# ICECUBE_PASSWORD: ${{ secrets.ICECUBE_PASSWORD }}
# run: make linkcheck SPHINXOPTS="-W --keep-going"
13 changes: 6 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ ci:
autoupdate_commit_msg: autoupdate pre-commit hooks
autoupdate_schedule: quarterly
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
- repo: https://github.com/google/yamlfmt
rev: v0.13.0
hooks:
- id: prettier
files: \.ya?ml$
- id: yamlfmt
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.14.0
hooks:
Expand All @@ -30,7 +29,7 @@ repos:
- id: blacken-docs
args: [-l 100]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.1
rev: v1.11.2
hooks:
- id: mypy
files: simweights
Expand All @@ -44,7 +43,7 @@ repos:
exclude: ^contrib/
additional_dependencies: [numpy, pandas]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
rev: v0.6.3
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand Down Expand Up @@ -92,7 +91,7 @@ repos:
- id: trailing-whitespace
exclude: \.svg$
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: "2.7.3"
rev: "3.0.3"
hooks:
- id: editorconfig-checker
alias: ec

0 comments on commit d4b29fa

Please sign in to comment.