Skip to content

Commit ae10cd7

Browse files
committed
devtools: Replace Ruff with Flake8 in pre-commit.
1 parent f93e5dd commit ae10cd7

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
repos:
2-
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
# Ruff version.
4-
rev: v0.8.0
2+
- repo: https://github.com/pycqa/flake8
3+
rev: 7.3.0
54
hooks:
6-
# Run the linter.
7-
- id: ruff
8-
args: [ --diff ]
9-
exclude: "contrib/pyln-grpc-proto/pyln/grpc/(primitives|node)_pb2(|_grpc).py"
10-
# Run the formatter.
11-
- id: ruff-format
12-
args: [ --diff ]
5+
- id: flake8
6+
args: [ "--ignore=E501,E731,E741,W503,F541,E275" ]
137
exclude: "contrib/pyln-grpc-proto/pyln/grpc/(primitives|node)_pb2(|_grpc).py"
148

159
- repo: https://github.com/shellcheck-py/shellcheck-py

0 commit comments

Comments
 (0)