Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python-cmd2/cmd2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.1.0
Choose a base ref
...
head repository: python-cmd2/cmd2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.1.1
Choose a head ref
  • 3 commits
  • 7 files changed
  • 2 contributors

Commits on Jul 9, 2026

  1. Fixed mypy 2.2.0 failures (#1709)

    * Fixed mypy 2.2.0 failures
    
     mypy 2.2.0 updated its typeshed definitions for argparse.ArgumentParser to align with recent updates to the standard library in newer Python versions (such as the addition of the file argument for output coloring and the
      optional formatter parameter).
    
      These new type stub signatures broke our overrides in cmd2/argparse_utils.py:
       - _get_formatter failed because the typeshed stub specifies it can accept an optional parameter file positionally, but our override only captured keyword arguments (**_kwargs: Any).
       - format_help failed because our override strictly took no arguments (def format_help(self)), while the base class accepts formatter.
    
    * Updated CHANGELOG.md
    tleonhardt authored Jul 9, 2026
    Configuration menu
    Copy the full SHA
    29ace9c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f92a60a View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG in preparation for patch release

    Also:
    - Bump versions of ruff and typos
    - Fix broken link in CONTRIBUTING.MD
    tleonhardt committed Jul 9, 2026
    Configuration menu
    Copy the full SHA
    b4d6cbb View commit details
    Browse the repository at this point in the history
Loading