From bbe36cc0e5ec4d800626b9549b90c65cccd9c130 Mon Sep 17 00:00:00 2001 From: Boris Date: Mon, 13 May 2024 14:31:49 -0500 Subject: [PATCH] Refactor ruff --- .github/workflows/lint.yml | 2 +- .pre-commit-config.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 262cbd11..e5cdffcb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,7 @@ jobs: python-version: '3.9' - name: Install ruff - run: pip install ruff + run: pip install ruff==0.4.4 - name: Run ruff format checker run: ruff format --check --config pyproject.toml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9d65accb..35d8d9e6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,9 +12,9 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.1 + rev: v0.4.4 hooks: - # These will fail the linting github action if the files are not formatted correctly + # These will fail the linting GitHub action if the files are not formatted correctly - id: ruff-format args: - '--config=pyproject.toml'