Skip to content

Commit 3a7b366

Browse files
committed
chore: updated pre-commit hooks
1 parent 409d7c2 commit 3a7b366

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
fail_fast: true
2-
exclude: "(^vendor/|\\.patch$)"
2+
exclude: (^vendor/|\.patch$)
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v3.4.0
6+
rev: v4.6.0
77
hooks:
88
- id: mixed-line-ending
9-
args: ["--fix=lf"]
10-
exclude: "data/"
9+
args: [--fix=lf]
10+
exclude: data/
1111
- id: end-of-file-fixer
1212
- id: trailing-whitespace
13-
exclude: "data/"
13+
exclude: data/
1414
- id: check-merge-conflict
1515
- id: fix-byte-order-marker
1616

src/hzeta.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
/* Work around bug in some Windows SDK / MSVC versions where NAN is not a
5555
* constant expression, triggering an error in the definition of
56-
* hsl_sf_hzeta_eulermaclaurin_series_coeffs[] and
56+
* hsl_sf_hzeta_eulermaclaurin_series_coeffs[] and
5757
* hsl_sf_hzeta_eulermaclaurin_series_majorantratios[] below.
5858
* We re-define NAN to the value it had in earlier MSVC versions.
5959
* See https://github.com/igraph/igraph/issues/2701

src/plfit_decls.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
/* Include the definition of macros controlling symbol visibility */
3434
#include "plfit_export.h"
3535

36-
#endif /* PLFIT_DECLS_H */
36+
#endif /* PLFIT_DECLS_H */

0 commit comments

Comments
 (0)