Add pyproject.toml to configure black formatter

This commit is contained in:
Daniel Gallagher 2018-07-06 11:18:24 -07:00
parent 04782a2818
commit bf0d23b584

9
pyproject.toml Normal file
View File

@ -0,0 +1,9 @@
# Example configuration for Black.
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.
[tool.black]
skip-string-normalization = true