chore: add black pre-commit hook
This commit is contained in:
parent
62860d0781
commit
fa51738fe8
3 changed files with 7 additions and 16 deletions
|
|
@ -58,4 +58,5 @@ name = "Update instructions"
|
|||
showcontent = true
|
||||
|
||||
[tool.black]
|
||||
exclude = "(.git|.hg|.mypy_cache|.tox|.venv|_build|buck-out|build|dist|migrations|data)"
|
||||
extend-exclude = "(api/.*/migrations/.*)"
|
||||
force-exclude = "(api/.*/migrations/.*)" # pre-commit pass files as args
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue