Show More
@@ -0,0 +1,14 b'' | |||
|
1 | [tool.black] | |
|
2 | line-length = 80 | |
|
3 | exclude = ''' | |
|
4 | build/ | |
|
5 | | wheelhouse/ | |
|
6 | | dist/ | |
|
7 | | packages/ | |
|
8 | | \.hg/ | |
|
9 | | \.mypy_cache/ | |
|
10 | | \.venv/ | |
|
11 | | mercurial/thirdparty/ | |
|
12 | ''' | |
|
13 | skip-string-normalization = true | |
|
14 | quiet = true |
@@ -5,7 +5,7 b' clang-format:pattern = set:(**.c or **.c' | |||
|
5 | 5 | rustfmt:command = rustfmt +nightly |
|
6 | 6 | rustfmt:pattern = set:"**.rs" - "mercurial/thirdparty/**" |
|
7 | 7 | |
|
8 | black:command = black | |
|
8 | black:command = black --config=black.toml - | |
|
9 | 9 | black:pattern = set:**.py - mercurial/thirdparty/** |
|
10 | 10 | |
|
11 | 11 | # Mercurial doesn't have any Go code, but if we did this is how we |
@@ -1,18 +1,3 b'' | |||
|
1 | 1 | [build-system] |
|
2 | 2 | requires = ["setuptools", "wheel"] |
|
3 | 3 | build-backend = "setuptools.build_meta" |
|
4 | ||
|
5 | [tool.black] | |
|
6 | line-length = 80 | |
|
7 | exclude = ''' | |
|
8 | build/ | |
|
9 | | wheelhouse/ | |
|
10 | | dist/ | |
|
11 | | packages/ | |
|
12 | | \.hg/ | |
|
13 | | \.mypy_cache/ | |
|
14 | | \.venv/ | |
|
15 | | mercurial/thirdparty/ | |
|
16 | ''' | |
|
17 | skip-string-normalization = true | |
|
18 | quiet = true |
General Comments 0
You need to be logged in to leave comments.
Login now