Skip to content

Commit

Permalink
add pre-commit config (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra authored Nov 19, 2021
1 parent ae70dd4 commit 4327ddc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
repos:
- repo: https://github.com/psf/black
rev: 21.11b1
hooks:
- id: black
language_version: python3.9

ci:
autofix_commit_msg: '[pre-commit.ci] auto fixes from pre-commit.com hooks'
autofix_prs: true
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: weekly
skip: []
submodules: false
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include = '\.pyi?$'
skip-magic-trailing-comma = true
experimental-string-processing = true

exclude = '''
force-exclude = '''
/(
\.git
| \.mypy_cache
Expand Down

0 comments on commit 4327ddc

Please sign in to comment.