]> 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:

Fix toml parsing and bump toml from 0.10.0 to 0.10.1 (#1501)
authorRichard Si <63936253+ichard26@users.noreply.github.com>
Tue, 16 Jun 2020 18:58:33 +0000 (14:58 -0400)
committerGitHub <noreply@github.com>
Tue, 16 Jun 2020 18:58:33 +0000 (11:58 -0700)
commit6ebdc5a644b5e53b83a99eb93d63c91d0751da16
treeb5acd4966e92cc07d5b2a71335d7c988421e49b2
parente4c55b48879c48bce2f3730ebb114aa2a67ab4d1
Fix toml parsing and bump toml from 0.10.0 to 0.10.1 (#1501)

* Bump toml from 0.10.0 to 0.10.1 to fix a bug

* Add tests for TOML parsing and reading

* Fix configuration bug affecting vim plugin

The vim plugin directly calls parse_pyproject and skips the Click processing
, but parse_pyproject assumed that it would only be used before Click processing
and therefore made the config values click friendly. This moves the "make the values
click friendly processing" into read_pyproject_toml which is only called by a Click
callback.

* Please mypy and flake8
Pipfile
Pipfile.lock
src/black/__init__.py
tests/test.toml [new file with mode: 0644]
tests/test_black.py