chore: add isort pre-commit hook
This commit is contained in:
parent
4159bc1209
commit
20ed5f0d52
3 changed files with 10 additions and 3 deletions
|
|
@ -60,3 +60,8 @@ showcontent = true
|
|||
[tool.black]
|
||||
extend-exclude = "(api/.*/migrations/.*)"
|
||||
force-exclude = "(api/.*/migrations/.*)" # pre-commit pass files as args
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
extend_skip_glob = ["api/*/migrations/*"]
|
||||
known_first_party = ["funkwhale_api", "config"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue