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

Add option to require a specific version to be running (#2300)
authorFelix Hildén <felix.hilden@gmail.com>
Thu, 3 Jun 2021 20:09:41 +0000 (23:09 +0300)
committerGitHub <noreply@github.com>
Thu, 3 Jun 2021 20:09:41 +0000 (13:09 -0700)
commita2b5ba2a3a97eb3a0b5130a5b317bb750c1624cf
tree09bca6315d65d25b6dd09afc05859e56780ec005
parentdf1c86cbe7cf0727d81e526e904b0752d7371da0
Add option to require a specific version to be running (#2300)

Closes #1246: This PR adds a new option (and automatically a toml entry, hooray for existing configuration management 🎉) to require a specific version of Black to be running.

For example: `black --required-version 20.8b -c "format = 'this'"`

Execution fails straight away if it doesn't match `__version__`.
CHANGES.md
docs/usage_and_configuration/the_basics.md
src/black/__init__.py
tests/test_black.py