black-nvim icon indicating copy to clipboard operation
black-nvim copied to clipboard

Add a new option `target_version` while allows you to set your python verion (analogous to `--target-version`)

Open chrismit3s opened this issue 2 years ago • 1 comments

To support the new match..case syntax you need to instruct black to use a newer python version. This is done with --target-version (as mentioned here). This PR adds support for this option in the settings dict.

chrismit3s avatar Apr 20 '22 18:04 chrismit3s

seems like a good idea, will review this soon

averms avatar Apr 23 '22 05:04 averms