Skip to content

Commit a8e1e69

Browse files
committed
edit pre-commit
1 parent e83af9e commit a8e1e69

File tree

4 files changed

+12
-93
lines changed

4 files changed

+12
-93
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,16 @@ repos:
1313
- id: check-yaml
1414
- id: end-of-file-fixer
1515
- id: trailing-whitespace
16-
- repo: local
16+
- repo: "https://github.com/domluna/JuliaFormatter.jl"
17+
rev: "v2.3.0"
1718
hooks:
18-
# - id: runtests_julia
19-
# name: "runtests_julia"
20-
# entry: pre_commit_hooks/runtests.sh
21-
# files: '\.(jl|JL)$'
22-
# verbose: true
23-
# language: "script"
24-
# description: "Runs julia tests"
25-
- id: format_julia
26-
name: "format_julia"
27-
entry: pre_commit_hooks/format.sh
28-
files: '\.(jl|JL)$'
29-
verbose: true
30-
language: "script"
31-
description: "Reformats Julia code"
19+
- id: "julia-formatter"
20+
#- repo: local
21+
#hooks:
22+
# - id: runtests_julia
23+
# name: "runtests_julia"
24+
# entry: pre_commit_hooks/runtests.sh
25+
# files: '\.(jl|JL)$'
26+
# verbose: true
27+
# language: "script"
28+
# description: "Runs julia tests"

pre_commit_hooks/format.jl

Lines changed: 0 additions & 25 deletions
This file was deleted.

pre_commit_hooks/format.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

pre_commit_hooks/runtests.sh

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)