Skip to content

Commit

Permalink
chore: change pre-commit to only run on updated files
Browse files Browse the repository at this point in the history
  • Loading branch information
edparris committed Feb 11, 2025
1 parent c52c7d6 commit 0c8379c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
lfs: 'true'
- uses: actions/setup-python@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ commands =
skip_install = true
conda_env =
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
commands = pre-commit run --from-ref origin/main --to-ref HEAD

[testenv:docs]
changedir = doc
Expand Down

0 comments on commit 0c8379c

Please sign in to comment.