vim-black does not respect configuration in pyproject.toml
Python version: 3.6
Black version: 18.3-alpha.0
pyproject.toml:
[tool.black]
line-length = 120
skip-string-normalization = true
From vim :Black will format the file using the default configuration or the global config in vimrc such as let g:black_skip_string_normalization = 1
It would be great if the vim plugin could use the project specific configuration
Absolutely agree. Happy to merge pull requests. What I'd like to see for it is:
Personally I would think the project-specific config would trump everything. Since it would be nice be able to override the global defaults in your vim config. But if a project has a specific config, I don't see when you would not want to use it.
I guess you're right. Let's do it like this then.
Most helpful comment
Personally I would think the project-specific config would trump everything. Since it would be nice be able to override the global defaults in your vim config. But if a project has a specific config, I don't see when you would not want to use it.