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

Capture CalledProcessError for any postitive returncode (#1450)
authorCooper Lees <me@cooperlees.com>
Fri, 22 May 2020 19:16:31 +0000 (12:16 -0700)
committerGitHub <noreply@github.com>
Fri, 22 May 2020 19:16:31 +0000 (12:16 -0700)
commitff6bbd5d960ef0053b20c9d9c621c8a348980833
treef7e2d29fa22c650939e9a7c9d6c250a888cf7f96
parentc77cb7b97ead3a9be5d03149520e1666c0a107e3
Capture CalledProcessError for any postitive returncode (#1450)

- Leave logic to still allow for formatting changes to be ignored
- Now just capture the output of any other error that has a > 1 returncode
- Raise on anything else

Test: Add unit test to exercise this new logic
src/black_primer/lib.py
tests/test_primer.py