Skip to content

Commit 0720cc5

Browse files
authored
Merge branch 'master' into Pinned-Dependencies-GitHub
2 parents 3e1e940 + 755c780 commit 0720cc5

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.4.2 (July 13, 2022)
2+
* Enhancements
3+
* Updated argparse decorator to remove annotations when the docstring is used for a command's help text.
4+
* Updated unit test to be Python 3.11 compliant.
5+
16
## 2.4.1 (April 13, 2022)
27
* Bug Fixes
38
* Fixed value for `ansi.Bg.YELLOW`.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a href="#version-two-notes">Version 2.0 Notes</a>
1717
</p>
1818

19-
[![Screenshot](cmd2.png)](https://youtu.be/DDU_JH6cFsA)
19+
[![Screenshot](https://raw.githubusercontent.com/python-cmd2/cmd2/master/cmd2.png)](https://youtu.be/DDU_JH6cFsA)
2020

2121
cmd2 is a tool for building interactive command line applications in Python. Its goal is to make it
2222
quick and easy for developers to build feature-rich and user-friendly interactive command line
@@ -28,7 +28,7 @@ when using cmd.
2828
The developers toolbox
2929
----------------------
3030

31-
![system schema](https://github.com/python-cmd2/cmd2/blob/master/.github/images/graph.drawio.png)
31+
![system schema](https://raw.githubusercontent.com/python-cmd2/cmd2/master/.github/images/graph.drawio.png)
3232

3333

3434
When creating solutions developers have no shortage of tools to create rich and smart user interfaces.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
#
7070
# This is also used if you do content translation via gettext catalogs.
7171
# Usually you set "language" from the command line for these cases.
72-
language = None
72+
language = 'en'
7373

7474
# List of patterns, relative to source directory, that match files and
7575
# directories to ignore when looking for source files.

tests/test_argparse_completer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,5 +1371,5 @@ def test_add_parser_custom_completer():
13711371
no_custom_completer_parser = subparsers.add_parser(name="no_custom_completer")
13721372
assert no_custom_completer_parser.get_ap_completer_type() is None # type: ignore[attr-defined]
13731373

1374-
custom_completer_parser = subparsers.add_parser(name="no_custom_completer", ap_completer_type=CustomCompleter)
1374+
custom_completer_parser = subparsers.add_parser(name="custom_completer", ap_completer_type=CustomCompleter)
13751375
assert custom_completer_parser.get_ap_completer_type() is CustomCompleter # type: ignore[attr-defined]

0 commit comments

Comments
 (0)