-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathblack.toml
More file actions
22 lines (17 loc) · 636 Bytes
/
Copy pathblack.toml
File metadata and controls
22 lines (17 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[nitpick.meta]
name = "Black"
url = "https://github.com/psf/black"
["pyproject.toml".tool.black]
line-length = 120
[[".pre-commit-config.yaml".repos]]
# Mirror that's 2x faster, recommended by
# https://github.com/psf/black/blob/58f31a70efe6509ce8213afac998bc5d5bb7e34d/.pre-commit-hooks.yaml#L1-L2
repo = "https://github.com/psf/black-pre-commit-mirror"
[[".pre-commit-config.yaml".repos.hooks]]
id = "black"
args = ["--safe", "--quiet"]
[[".pre-commit-config.yaml".repos]]
repo = "https://github.com/asottile/blacken-docs"
[[".pre-commit-config.yaml".repos.hooks]]
id = "blacken-docs"
additional_dependencies = ["black==23.7.0"]