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

Allow to pass the FileMode options in the vim plugin #1319

Merged
merged 11 commits into from Sep 29, 2021

Commits on Mar 27, 2020

  1. 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.
    shaoran committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    74c7fe1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dffcfe1 View commit details
    Browse the repository at this point in the history
  3. Fixing how to handle string_normalization argument

    I didn't realize that it was a boolan value.
    shaoran committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    d1b4242 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2021

  1. Configuration menu
    Copy the full SHA
    102eabe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7cd11bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f9c7f77 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7c27c10 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2021

  1. doc: mentioning that target_version is the same as

    in the command line
    shaoran committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    9427edc View commit details
    Browse the repository at this point in the history
  2. chore: add this pull request to the changelog

    to make CI happy
    shaoran committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    d983f74 View commit details
    Browse the repository at this point in the history
  3. chore: catch KeyError and print warning

    if no target verison is found
    shaoran committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    956d190 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. Configuration menu
    Copy the full SHA
    68e63d9 View commit details
    Browse the repository at this point in the history