repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. rev: v0.12.1 hooks: - id: ruff-check args: [ --fix ] - id: ruff-format - repo: local hooks: - id: run_styler name: run_styler language: r description: style files with {styler} entry: "Rscript -e 'styler::style_file(commandArgs(TRUE))'" files: '(\.[rR]profile|\.[rR]|\.[rR]md|\.[rR]nw|\.[qQ]md)$' additional_dependencies: - styler - knitr - repo: https://github.com/lorenzwalthert/precommit rev: v0.4.3.9012 hooks: - id: lintr