Skip to content
Merged
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
2 changes: 0 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ jobs:
~/.cache/pre-commit
~/.local/share/renv/cache
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install Air
uses: posit-dev/setup-air@63e80dedb6d275c94a3841e15e5ff8691e1ab237 # v1.0.0
- name: Run pre-commit
run: |
pre-commit run --all-files --color=always --show-diff-on-failure
Expand Down
7 changes: 2 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,12 @@ repos:
pass_filenames: false
files: >-
^r/.*\.(R|Rmd)$
- repo: local
- repo: https://github.com/posit-dev/air-pre-commit
rev: 0.8.2
hooks:
- id: air-format
alias: r
name: R Format (Air)
language: system
entry: air format r --check
files: >-
^r/.*\.R$
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
hooks:
Expand Down