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

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 `black --help` output for `--python-cell-magics` option to be reproducible (...
authorEdouard Choinière <27212526+echoix@users.noreply.github.com>
Tue, 24 Jan 2023 13:43:24 +0000 (08:43 -0500)
committerGitHub <noreply@github.com>
Tue, 24 Jan 2023 13:43:24 +0000 (05:43 -0800)
CHANGES.md
src/black/__init__.py

index e311c492789ec410da87956072c7c64b48535139..2acb31d6ac49d14a0dd6b156b295efc4836a6582 100644 (file)
@@ -69,6 +69,8 @@
 
 <!-- Changes to Black's terminal output and error messages -->
 
+- Calling `black --help` multiple times will return the same help contents each time
+  (#3516)
 - Verbose logging now shows the values of `pyproject.toml` configuration variables
   (#3392)
 - Fix false symlink detection messages in verbose output due to using an incorrect
index daf6f88f58edac008203b5d28b8eb3034bae7100..f24487fd398268f51d501b35cf3092b67cfb1cc7 100644 (file)
@@ -244,7 +244,7 @@ def validate_regex(
     multiple=True,
     help=(
         "When processing Jupyter Notebooks, add the given magic to the list"
-        f" of known python-magics ({', '.join(PYTHON_CELL_MAGICS)})."
+        f" of known python-magics ({', '.join(sorted(PYTHON_CELL_MAGICS))})."
         " Useful for formatting cells with custom python magics."
     ),
     default=[],