From e97c847fdb56bd871179fd825711469115cc75c0 Mon Sep 17 00:00:00 2001 From: Alex Ruddick Date: Thu, 18 Jul 2024 15:40:12 -0500 Subject: [PATCH] Update ruff to 0.5.2 --- .github/workflows/python-package.yml | 2 +- .pre-commit-config.yaml | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index d8eebb4..178b1d9 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -40,7 +40,7 @@ jobs: python -m pip install '.[test]' - name: Lint with ruff run: | - ruff . + ruff check . - name: Check types with mypy run: | mypy midas diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9e7c986..5d5cb2a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: - id: check-added-large-files - id: check-json - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.4.2 + rev: v0.5.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/setup.py b/setup.py index 124c06a..fac7bcd 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ 'pytest', 'pytest-cov', 'pytest-asyncio', - 'ruff==0.4.2', + 'ruff==0.5.2', ], }, entry_points={