emacs-python-black icon indicating copy to clipboard operation
emacs-python-black copied to clipboard

Emacs package to reformat Python using black-macchiato

Results 5 emacs-python-black issues
Sort by recently updated
recently updated
newest added

I installed python-black so I can use black-macchiato to reformat regions, because the project I'm working on does not use black. So I do not run black on save. Actually...

help wanted
question

I'm using, as the readme says, ``` (use-package python-black :demand t :after python :hook (python-mode . python-black-on-save-mode-enable-dwim)) ``` Then I see that: ``` python-mode-hook is a variable defined in ‘python.el’....

help wanted
question

I want to run black in the root dir of projectile project. I am trying to do this because right now, black will not pick up the `pyproject.toml` configurations.

enhancement
question

pass the file name (if any) to black via the ‘--stdin-filename’ command line flag. it will be used to discover the project root directory and hence the configuration file (see...

enhancement

If `org-src-preserve-indentation` is nil and `org-edit-src-content-indentation` is non-zero (both are by default), `python-black-org-mode-block` fails because of the indentation. For example, with `(setq-local org-src-preserve-indentation nil org-edit-src-content-indentation 2)`, this Org markup: ```...

bug
help wanted