Skip to content

Commit

Permalink
BLD: add config for pre-commit.ci
Browse files Browse the repository at this point in the history
  • Loading branch information
elcorto committed Feb 18, 2024
1 parent e51bd88 commit 28065e4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
repos:
##- repo: https://github.com/psf/black
## rev: 23.11.0
## hooks:
## - id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.2.1'
hooks:
# linter
- id: ruff
# formatter
- id: ruff-format

# Config for https://pre-commit.ci/. Need that because dependabot doesn't
# support this config file
# (https://github.com/dependabot/dependabot-core/issues/1524), aww man!
#
ci:
autofix_commit_msg: |
[pre-commit.ci] auto fixes from pre-commit.com hooks

0 comments on commit 28065e4

Please sign in to comment.