Skip to content

Conversation

@jdost
Copy link
Contributor

@jdost jdost commented Sep 3, 2021

Based on the black docs black will fall back to a global settings file if there is not a project scoped file. This just supports the same behavior in this plugin.

Based on the [black
docs](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#where-black-looks-for-the-file)
black will fall back to a global settings file if there is not a project scoped
file.  This just supports the same behavior in this plugin.
@haplo
Copy link
Collaborator

haplo commented Sep 4, 2021

Thank you for the contribution @jdost! I will give this branch a try and if it works I would be happy to accept it.

@haplo haplo linked an issue Dec 1, 2021 that may be closed by this pull request
@haplo haplo added this to the v1.1.0 milestone Dec 1, 2021
@haplo haplo added the enhancement New feature or request label Dec 1, 2021
@haplo haplo self-requested a review December 1, 2021 18:16
@haplo haplo merged commit 9b6e716 into python-lsp:master Dec 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support global config file for black

2 participants