Repository navigation
- Add the
git_repositoryandgit_object_formatpytest fixtures, which run a test in a SHA-1 and in a SHA-256 Git repository. - Add an
inputargument torun_cli(), which writes its text to the standard input of the child. - Add a
secretsargument torun_cli()andformat_cli_prompt(), which show each secret asSECRET_MASK(***) in the prompt line and the logged output. - Make
deep_merge()public at the package root: it merges two mappings, and the dictionaries nested in them key by key. - Name the machine's architecture on the version screen and in bug reports when the interpreter's differs, with
extra-platforms15.0.0or later. - Fix MyST docstrings converting a link or a footnote reference inside inline code, and keeping the backticks of a double-backtick link label.
- Fix the
__init__docstrings ofCommand,Spinner,OperationTrail,EnumChoiceandNoConfigOptionfailing the nitpicky docs build of a project that subclasses them. - Fix type checkers reading
command,group,option,argument,help_optionandversion_optionimported fromclick_extraas Click's own decorators. - Fix type checkers refusing the options of
CommandandGroup, likeexamples, passed to thecommandandgroupmethods of aGroup. - Fix the
default_debug_uncolored_version_details,default_debug_colored_version_details,default_debug_uncolored_log_startanddefault_debug_colored_log_startregexes rejecting the 64-character hashes of a SHA-256 Git repository. - Skip the tests that run
gitwhere nogitcommand runs, like in a build sandbox.
Full changelog: v10.4.0...v10.5.0