🔧 Added python black formatter

This commit is contained in:
z3rOR0ne 2024-08-12 15:00:34 -07:00
parent 9a24426c01
commit bad826cccf
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
require("conform").setup({
formatters_by_ft = {
python = { "isort" },
python = { "isort", "black" },
lua = { "stylua" },
css = { "stylelint" },
javascript = { "prettierd", "prettier", stop_after_first = true },

View file

@ -564,3 +564,5 @@ Install isort and stylelint
doas pacman -S python-isort stylelint
Install sql-formatter
paru sql-formatter
Install black (python formatter)
doas pacman -S python-black