From 9fe098cc6c276c6436968397df8531734dd968af Mon Sep 17 00:00:00 2001 From: Deimos Date: Thu, 16 Jan 2020 18:48:43 -0700 Subject: [PATCH] Fix Black exclusion regex to only apply to folders Noticed that this wasn't working correctly when Black was skipping over a Python file with "sql" in its name. --- tildes/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tildes/pyproject.toml b/tildes/pyproject.toml index 3e42604..430d37d 100644 --- a/tildes/pyproject.toml +++ b/tildes/pyproject.toml @@ -1,5 +1,5 @@ [tool.black] -exclude = "(\\.mypy_cache|node_modules|scss|sql|static)" +exclude = "/(\\.mypy_cache|node_modules|scss|sql|static)/" [tool.isort] skip = "alembic"