diff --git a/CHANGES.md b/CHANGES.md index 1450278341b..0a4569fc39f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -65,6 +65,8 @@ +- 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 diff --git a/src/black/__init__.py b/src/black/__init__.py index daf6f88f58e..f24487fd398 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -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=[],