From 1aa254a6b42fc028df8599d73378e5f92a861c86 Mon Sep 17 00:00:00 2001 From: Mike Date: Tue, 5 Dec 2023 11:32:35 +0100 Subject: [PATCH] feat: add ruff to pre-commit-config --- .pre-commit-config.yaml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fe956d9..df0655e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -66,14 +66,20 @@ repos: # - id: check-jsonschema # - id: check-azure-pipelines # - id: check-travis - - repo: https://github.com/PyCQA/flake8 - rev: '4.0.1' # Use the sha / tag you want to point at + - repo: https://github.com/astral-sh/ruff-pre-commit + # Ruff version. + rev: v0.1.7 hooks: - - id: flake8 - # args: [ - # '--max-line-length=120', - # '--ignore=E203,E226,E231,E261,E262,E265,E302,W391' - # ] + - id: ruff + # - id: ruff-format + # - repo: https://github.com/PyCQA/flake8 + # rev: '4.0.1' # Use the sha / tag you want to point at + # hooks: + # - id: flake8 + # # args: [ + # # '--max-line-length=120', + # # '--ignore=E203,E226,E231,E261,E262,E265,E302,W391' + # # ] - repo: https://github.com/pre-commit/mirrors-mypy rev: 'v0.950' # Use the sha / tag you want to point at hooks: