Skip to content

Commit 1140790

Browse files
committed
pre-commit: black, ignore cookiecutter folder
1 parent 0babed0 commit 1140790

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ repos:
3737
rev: 23.3.0
3838
hooks:
3939
- id: black
40+
exclude: "contrib\/template\/.*"
4041

4142
# Autoformat: markdown, yaml
4243
- repo: https://github.com/pre-commit/mirrors-prettier

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ target_version = [
137137
"py310",
138138
"py311",
139139
]
140+
extend-exclude = 'contrib\/template\/'
140141

141142

142143
# isort is used for autoformatting Python code

0 commit comments

Comments
 (0)