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

Discover whether a file is Python 3.6+ also by stars in calls
authorŁukasz Langa <lukasz@langa.pl>
Tue, 8 May 2018 22:44:44 +0000 (15:44 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Wed, 9 May 2018 04:57:09 +0000 (21:57 -0700)
commit1747c388bba0c87f75a6239d56e3b51f7455e93d
treed3a97c63c6b84adc04e7e7826cd78911ff76a853
parente196180a0dec49549565850239831d4420464623
Discover whether a file is Python 3.6+ also by stars in calls

Fixes a pathological situation where if a function signature used a trailing
comma but was later reformatted to a single line (with the trailing comma
removed), Black would change its mind whether a file is Python
3.6-compatible between runs.
README.md
black.py
tests/function.py
tests/function2.py [new file with mode: 0644]
tests/test_black.py