X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/72a84d4099f2930979bd1ca1d9e441140b0a304d..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.",