Skip to content

Commit bf0d23b

Browse files
author
Daniel Gallagher
committed
Add pyproject.toml to configure black formatter
1 parent 04782a2 commit bf0d23b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Example configuration for Black.
2+
3+
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
4+
# It's the equivalent of r-strings in Python. Multiline strings are treated as
5+
# verbose regular expressions by Black. Use [ ] to denote a significant space
6+
# character.
7+
8+
[tool.black]
9+
skip-string-normalization = true

0 commit comments

Comments
 (0)