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
Allow to pass the FileMode options in the vim plugin #1319
Merged
Merged
Commits on Mar 27, 2020
-
Allow to pass the FileMode options in the vim plugin
The vim plugin takes now into consideration the `target-version` value of the `pyproject.toml` file. You can also specify a default target version with the configuration variable `g:black_target_version`. Vim's `:Black` command accepts now the following optional arguments: - `line_length` - `string_normalization` - `black_target_version` Those allow you to override any settings that come either from vim's configuration or the `pyproject.toml` file. It also supports supports a simple tab completion to allow to pass the arguments quicky.
Configuration menu - View commit details
-
Copy full SHA for 74c7fe1 - Browse repository at this point
Copy the full SHA 74c7fe1View commit details -
Configuration menu - View commit details
-
Copy full SHA for dffcfe1 - Browse repository at this point
Copy the full SHA dffcfe1View commit details -
Fixing how to handle string_normalization argument
I didn't realize that it was a boolan value.
Configuration menu - View commit details
-
Copy full SHA for d1b4242 - Browse repository at this point
Copy the full SHA d1b4242View commit details
Commits on Sep 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 102eabe - Browse repository at this point
Copy the full SHA 102eabeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cd11bb - Browse repository at this point
Copy the full SHA 7cd11bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9c7f77 - Browse repository at this point
Copy the full SHA f9c7f77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c27c10 - Browse repository at this point
Copy the full SHA 7c27c10View commit details
Commits on Sep 23, 2021
-
doc: mentioning that target_version is the same as
in the command line
Configuration menu - View commit details
-
Copy full SHA for 9427edc - Browse repository at this point
Copy the full SHA 9427edcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d983f74 - Browse repository at this point
Copy the full SHA d983f74View commit details -
chore: catch KeyError and print warning
if no target verison is found
Configuration menu - View commit details
-
Copy full SHA for 956d190 - Browse repository at this point
Copy the full SHA 956d190View commit details
Commits on Sep 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 68e63d9 - Browse repository at this point
Copy the full SHA 68e63d9View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.