Skip to content

Commit

Permalink
update ruff linter version
Browse files Browse the repository at this point in the history
  • Loading branch information
mt7180 committed Mar 23, 2024
1 parent 216e86a commit 5fc8b3d
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
repos:
# taken from: https://black.readthedocs.io/en/stable/integrations/source_version_control.html
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster

# black formatter
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
hooks:
- id: black
# It is recommended to specify the latest version of Python
# supported by your project here, or alternatively use
# pre-commit's default_language_version, see
# https://pre-commit.com/#top_level-default_language_version
language_version: python3.10
# taken from: https://pypi.org/project/ruff/

# ruff linter
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.291
rev: v0.3.4
hooks:
- id: ruff

0 comments on commit 5fc8b3d

Please sign in to comment.