X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/05954c0950637aa1039d0ac86a4a7e832cbffd9f..a18ee4018f855007bf4a23027a8d6478e56a36bf:/src/black/__init__.py?ds=sidebyside diff --git a/src/black/__init__.py b/src/black/__init__.py index aa7970c..d99c48a 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -181,7 +181,7 @@ def validate_regex( @click.command( - context_settings=dict(help_option_names=["-h", "--help"]), + context_settings={"help_option_names": ["-h", "--help"]}, # While Click does set this field automatically using the docstring, mypyc # (annoyingly) strips 'em so we need to set it here too. help="The uncompromising code formatter.",