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
11 changes: 7 additions & 4 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ jobs:
python-version: "3.10"
- run: |
pip install pre-commit
pre-commit clean
pre-commit autoupdate

# avoiding failures unrelated to PR contents
if [ "${{ github.event_name }}" = "schedule" ]; then
pre-commit clean
pre-commit autoupdate
fi

pre-commit run --all-files --show-diff-on-failure
- if: ${{ failure() }}
run: git diff

devops:
runs-on: ubuntu-24.04
Expand Down
13 changes: 6 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ repos:
- id: detect-missing-init
args: ['--create', "--track", "--python-folders", "tests,PySDM,examples/PySDM_examples"]

# TODO #1794
# - repo: https://github.com/open-atmos/devops_tests
# rev: v0.0.2
# hooks:
# - id: check-badges
# name: check badges
# args: [--fix-header, --repo-name=PySDM]
- repo: https://github.com/AgnieszkaZaba/devops_tests
rev: 6260ff80f0fb46f72de26dcbe173ce5564f236de
hooks:
- id: check-notebook-open-atmos-structure
name: check notebook has open-atmos structure
args: [--repo-name=PySDM]
Loading