Skip to content

Commit

Permalink
Start using ruff as a pre-commit hook, instead of flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
sadikkuzu committed Sep 17, 2023
1 parent f880e4a commit 9f4ec8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ repos:
language_version: python3
# temp exlude osrm: black fails to reformat for some reason
args: [routingpy, tests, --exclude, routingpy/routers/mapbox_osrm.py]
- repo: https://github.com/pycqa/flake8
rev: 6.1.0 # pick a git hash / tag to point to
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.290
hooks:
- id: flake8
- id: ruff
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
Expand Down

0 comments on commit 9f4ec8b

Please sign in to comment.