]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Support for top-level user configuration (#1899)
authorHarish Rajagopal <harish.rajagopals@gmail.com>
Thu, 1 Apr 2021 16:39:18 +0000 (18:39 +0200)
committerGitHub <noreply@github.com>
Thu, 1 Apr 2021 16:39:18 +0000 (18:39 +0200)
commit9451c57d1c60d70ddd55e21b44382ca96637398e
tree9b964bf0ece3f3b836fb3b3b09a9df2e5ab838ef
parented9d58b7410f24446cedebd0f767b71b154f5f5b
Support for top-level user configuration (#1899)

* Added support for top-level user configuration

At the user level, a TOML config can be specified in the following locations:
* Windows: ~\.black
* Unix-like: $XDG_CONFIG_HOME/black (~/.config/black fallback)

Instead of changing env vars for the entire black-primer process, they
are now changed only for the black subprocess, using a tmpdir.
README.md
docs/pyproject_toml.md
src/black/__init__.py
src/black_primer/lib.py
tests/test_black.py