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
7 changes: 6 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
- name: Linting
run: |
pip install pre-commit

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

pre-commit run --all-files --show-diff-on-failure
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements

- 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=PyPartMC]
Loading