devtools: Replace Ruff with Flake8 in pre-commit.
This commit is contained in:
@@ -1,15 +1,9 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/pycqa/flake8
|
||||||
# Ruff version.
|
rev: 7.3.0
|
||||||
rev: v0.8.0
|
|
||||||
hooks:
|
hooks:
|
||||||
# Run the linter.
|
- id: flake8
|
||||||
- id: ruff
|
args: [ "--ignore=E501,E731,E741,W503,F541,E275" ]
|
||||||
args: [ --diff ]
|
|
||||||
exclude: "contrib/pyln-grpc-proto/pyln/grpc/(primitives|node)_pb2(|_grpc).py"
|
|
||||||
# Run the formatter.
|
|
||||||
- id: ruff-format
|
|
||||||
args: [ --diff ]
|
|
||||||
exclude: "contrib/pyln-grpc-proto/pyln/grpc/(primitives|node)_pb2(|_grpc).py"
|
exclude: "contrib/pyln-grpc-proto/pyln/grpc/(primitives|node)_pb2(|_grpc).py"
|
||||||
|
|
||||||
- repo: https://github.com/shellcheck-py/shellcheck-py
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
||||||
|
|||||||
Reference in New Issue
Block a user