File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
repos :
3
- - repo : local
3
+ - repo : https://github.com/PlasmaFAIR/fortitude-pre-commit
4
+ rev : v0.7.2
4
5
hooks :
5
- - id : fortran-tooling-hooks
6
- name : Fortran Tooling hooks
7
- description : Default pre-commit hooks for the ARC Fortran Tooling project
8
- entry : fortitude
9
- language : system
10
- types_or : [file, fortran]
11
- files : \.(f90)$
12
- args : ['--config-file', 'formatting/fortitude.toml', 'check']
13
- require_serial : true
14
- additional_dependencies : []
15
- minimum_pre_commit_version : " 2.9.2"
6
+ # Idealy, we would not need to specify the entry point, but the fortitude cli
7
+ # requires the `--config-file` option to be specified before the `check` subcommand
8
+ # and the pre-commit hook correctly states check in the entry.
9
+ - id : fortitude
10
+ entry : fortitude --config-file formatting/fortitude.toml check --force-exclude
You can’t perform that action at this time.
0 commit comments