pyright and other lsp server such as lua can not attach to buffer. Just the black and flack8 can work though null-ls.