diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a8599c..38501ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,6 @@ jobs: uses: actions/setup-python@v3 with: python-version: "3.10" - - name: Install requirements - run: pip install -r requirements/dev.txt - name: Run pre-commit checks uses: pre-commit/action@v3.0.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 40a29ec..7453df6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,17 +9,9 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace -- repo: local +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.3.4 hooks: - - id: ruff format - name: ruff format - entry: ruff format - language: system - types: [python] - - - id: ruff check - name: ruff check - entry: ruff check - language: system - types: [python] - args: [--fix] + - id: ruff-format + - id: ruff + args: [ --fix ]