Skip to content

Commit 4269f99

Browse files
authored
Use hyphenated options in black config in pyproject.toml (#12080)
1 parent fcbb142 commit 4269f99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.black]
2-
line_length = 130
3-
target_version = ["py310"]
4-
skip_magic_trailing_comma = true
2+
line-length = 130
3+
target-version = ["py310"]
4+
skip-magic-trailing-comma = true
55
# Exclude protobuf files because they have long line lengths
66
# Ideally, we could configure Black to allow longer line lengths
77
# for just these files, but doesn't seem possible yet.

0 commit comments

Comments
 (0)