Skip to content

Commit

Permalink
Migrate to ruff formatter and linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
eli64s committed Jan 10, 2024
1 parent 68c79e4 commit 0b47b6d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Pre-commit hooks configuration file - https://pre-commit.com/
# Pre-commit hooks - https://pre-commit.com/

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand All @@ -17,8 +17,9 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.3.0
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.11
hooks:
- id: black
language_version: python3
- id: ruff
args: [ --fix ]
- id: ruff-format

0 comments on commit 0b47b6d

Please sign in to comment.