Browse Source

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.
merge-requests/88/head
Deimos 5 years ago
parent
commit
9fe098cc6c
  1. 2
      tildes/pyproject.toml

2
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"

Loading…
Cancel
Save