Skip to content

Commit

Permalink
Add pre-commit.ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
blancadesal committed Jul 4, 2022
1 parent bbc4be6 commit 907f018
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
ci:
autofix_commit_msg: |
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
autofix_prs: true
autoupdate_branch: ''
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: weekly
skip: []
submodules: false

repos:
- repo: https://github.com/psf/black
rev: 21.12b0
rev: 22.6.0
hooks:
- id: black
language_version: python3.8
Expand All @@ -21,14 +33,14 @@ repos:
language_version: python3.8

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
rev: v0.961
hooks:
- id: mypy
exclude: ^tests/
args: [--disallow-untyped-defs, --disallow-untyped-calls, --check-untyped-defs]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand Down

0 comments on commit 907f018

Please sign in to comment.