Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chrismit3s
Copy link

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.

@averms
Copy link
Owner

averms commented Apr 23, 2022

seems like a good idea, will review this soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants