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

[elpy-rpc] black: propagate target_versions from pyproject.toml config #1919

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gaetano-guerriero
Copy link
Contributor

@gaetano-guerriero gaetano-guerriero commented Jun 4, 2021

PR Summary

Black can format the code differently when the target-version option is used.
This PR parses the value from the pyproject.toml file, if present, and propagate it to elpy library.
The same is already done for other configuration parameters.

PR checklist

Please make sure that the following things have been addressed (and check the relevant checkboxes):

  • Commits respect our guidelines
  • Tests are passing properly (see here on how to run Elpy's tests)

@gaetano-guerriero gaetano-guerriero force-pushed the black-propagate-target-versions-config branch from 25746de to 2263682 Compare June 10, 2021 15:10
@galaunay galaunay force-pushed the master branch 4 times, most recently from c4a2564 to d974e00 Compare June 30, 2021 22:40
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.

1 participant