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>
This commit is contained in:
Christian Clauss 2023-05-02 10:39:44 +02:00 committed by Damien George
parent a000c61d5d
commit 4e4bdbd191

View File

@ -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