Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4327ddc

Browse files
add pre-commit config (#29)
1 parent ae70dd4 commit 4327ddc

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
repos:
2+
- repo: https://github.com/psf/black
3+
rev: 21.11b1
4+
hooks:
5+
- id: black
6+
language_version: python3.9
7+
8+
ci:
9+
autofix_commit_msg: '[pre-commit.ci] auto fixes from pre-commit.com hooks'
10+
autofix_prs: true
11+
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
12+
autoupdate_schedule: weekly
13+
skip: []
14+
submodules: false

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include = '\.pyi?$'
44
skip-magic-trailing-comma = true
55
experimental-string-processing = true
66

7-
exclude = '''
7+
force-exclude = '''
88
/(
99
\.git
1010
| \.mypy_cache

0 commit comments

Comments
 (0)