Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Switch to ruff for formatting #206

Merged
merged 2 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# @max-sixty's standard set
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.4
rev: v0.8.2
hooks:
- id: ruff-format
- id: ruff
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
Expand All @@ -12,11 +13,6 @@ repos:
rev: v0.3.9
hooks:
- id: blackdoc
# black should go at the end, since it's the most likely to change others' changes.
- repo: https://github.com/psf/black
rev: "24.10.0"
hooks:
- id: black
# This doesn't seem to work from pre-commit.ci; which may not have internet access
# - repo: https://github.com/ComPWA/mirrors-markdown-link-check
# rev: v3.8.7
Expand All @@ -43,7 +39,7 @@ repos:
- prettier
- prettier-plugin-go-template
- repo: https://github.com/crate-ci/typos
rev: typos-dict-v0.11.35
rev: typos-dict-v0.11.37
hooks:
- id: typos
# https://github.com/crate-ci/typos/issues/347
Expand Down
Loading
Loading