Skip to content

Commit

Permalink
deps: ruff 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Nov 26, 2024
1 parent d347457 commit 54229b2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,21 @@ jobs:

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip wheel pylint mypy ruff
python3 -m pip install --upgrade pip wheel mypy
python3 -m pip install -r requirements.txt
- name: Run Ruff
if: always()
run: ruff check --output-format=github --exit-non-zero-on-fix .
uses: astral-sh/ruff-action@v1
with:
version: 0.8.0

- name: Run Ruff Format
if: always()
run: ruff format --diff .
uses: astral-sh/ruff-action@v1
with:
args: format --check
version: 0.8.0

- name: Run mypy
run: |
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ repos:
- id: yamlfmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.8.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.8.0
hooks:
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
rev: v1.13.0
hooks:
- id: mypy
additional_dependencies: [numpy, types-PyYAML, pandas>=2.0.3]
Expand Down

0 comments on commit 54229b2

Please sign in to comment.