top: Add ruff to pre-commit.

This does not align with the other pre-commit jobs with are local custom
code but it should run accurately and quickly.

Signed-off-by: Christian Clauss <cclauss@me.com>
pull/11394/head
Christian Clauss 2023-05-02 10:39:44 +02:00 zatwierdzone przez Damien George
rodzic a000c61d5d
commit 4e4bdbd191
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -11,3 +11,7 @@ repos:
language: python
verbose: true
stages: [commit-msg]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.265
hooks:
- id: ruff