Skip to content

Commit

Permalink
Migrates auto formatter to Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Tpt committed Nov 4, 2023
1 parent 8a9d6b2 commit e831559
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,13 @@ repos:
- id: mixed-line-ending
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/ambv/black
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.0
rev: v0.1.4
hooks:
- id: ruff-format
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.0
rev: v1.6.1
hooks:
- id: mypy

0 comments on commit e831559

Please sign in to comment.