Skip to content

Commit e0b95ea

Browse files
[MegaLinter] Apply linters fixes
1 parent e98f7ce commit e0b95ea

File tree

1 file changed

+24
-18
lines changed

1 file changed

+24
-18
lines changed

.pre-commit-config.yaml

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,32 @@
2222
# To revert that, you can use:
2323
# git update-index --no-assume-unchanged .pre-commit-config.yaml
2424

25-
default_install_hook_types:
25+
default_install_hook_types:
2626
- pre-commit
2727
- pre-push
2828

2929
repos:
30-
- repo: https://github.com/astral-sh/ruff-pre-commit
31-
# Ruff version.
32-
rev: v0.11.5
33-
hooks:
34-
# Run the linter.
35-
- id: ruff
36-
args: [ --fix ]
37-
stages: [ pre-push ]
38-
# Run the formatter.
39-
- id: ruff-format
40-
stages: [ pre-push ]
30+
- repo: https://github.com/astral-sh/ruff-pre-commit
31+
# Ruff version.
32+
rev: v0.11.5
33+
hooks:
34+
# Run the linter.
35+
- id: ruff
36+
args: [--fix]
37+
stages: [pre-push]
38+
# Run the formatter.
39+
- id: ruff-format
40+
stages: [pre-push]
4141

42-
- repo: https://github.com/google/addlicense
43-
rev: 55a521bf81c24480094950caa3566548fa63875e
44-
hooks:
45-
- id: addlicense
46-
args: [ "-f", "./.github/LICENSE_HEADER", "-ignore", "newrelic/packages/**/*" ]
47-
stages: [ pre-push ]
42+
- repo: https://github.com/google/addlicense
43+
rev: 55a521bf81c24480094950caa3566548fa63875e
44+
hooks:
45+
- id: addlicense
46+
args:
47+
[
48+
"-f",
49+
"./.github/LICENSE_HEADER",
50+
"-ignore",
51+
"newrelic/packages/**/*",
52+
]
53+
stages: [pre-push]

0 commit comments

Comments
 (0)