Skip to content

Commit

Permalink
fix format files provided by pre-commit instead of all the files in w…
Browse files Browse the repository at this point in the history
…orkdir
  • Loading branch information
m-fila committed Jun 22, 2024
1 parent 93ca402 commit ef62c53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- id: julia-formatter
name: "Julia Formatter"
entry: "julia -e 'import JuliaFormatter: format; format(\".\")'"
pass_filenames: false
entry: "julia -e 'import JuliaFormatter: format; format(ARGS)'"
pass_filenames: true
always_run: false
types: [file]
files: \.(jl|[jq]?md)$
Expand Down

0 comments on commit ef62c53

Please sign in to comment.