From bf0d23b5848d89c06b76dfd9dc840492e267b761 Mon Sep 17 00:00:00 2001 From: Daniel Gallagher Date: Fri, 6 Jul 2018 11:18:24 -0700 Subject: [PATCH] Add pyproject.toml to configure black formatter --- pyproject.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..5d75a651 --- /dev/null +++ b/pyproject.toml @@ -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