From 20c04e05fae9716e9e5a7f982ccbe96836ae5edd Mon Sep 17 00:00:00 2001 From: Deimos Date: Mon, 3 Jun 2019 00:23:19 -0600 Subject: [PATCH] Add pyproject.toml config file for Black With the gigantic node_modules directory, Black suddenly started taking over 15 seconds to run (compared to less than a second before). This gets it to skip the node_modules directory, as well as a few other ones. --- tildes/pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tildes/pyproject.toml diff --git a/tildes/pyproject.toml b/tildes/pyproject.toml new file mode 100644 index 0000000..568b395 --- /dev/null +++ b/tildes/pyproject.toml @@ -0,0 +1,2 @@ +[tool.black] +exclude = "(\\.mypy_cache|node_modules|scss|sql|static)"