From b436b86dd26f8b08020514414a380df939c1bcbd Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 3 Nov 2023 18:44:22 +1100 Subject: [PATCH] Removed preview --- .pre-commit-config.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 610ed2107d3..80c5c578743 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: rev: v0.1.3 hooks: - id: ruff - args: [--fix, --preview, --exit-non-zero-on-fix] + args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black-pre-commit-mirror rev: 23.9.1 diff --git a/Makefile b/Makefile index ded945ca622..b7f07e24d07 100644 --- a/Makefile +++ b/Makefile @@ -120,4 +120,4 @@ lint-fix: python3 -c "import black" > /dev/null 2>&1 || python3 -m pip install black python3 -m black --target-version py38 . python3 -c "import ruff" > /dev/null 2>&1 || python3 -m pip install ruff - python3 -m ruff --preview --fix . + python3 -m ruff --fix .