Skip to content

Commit

Permalink
Merge pull request #3 from mantidproject/pre-commit
Browse files Browse the repository at this point in the history
Add configuration for ci and update hooks
  • Loading branch information
peterfpeterson authored Oct 1, 2024
2 parents df605f9 + 93578c1 commit 7cfa4ea
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
ci:
autofix_prs: true

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-added-large-files
args: [--maxkb=8192]
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.8
rev: v0.6.8
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.1.1
rev: v1.11.2
hooks:
- id: mypy

0 comments on commit 7cfa4ea

Please sign in to comment.