<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/cmd2/utils.py, branch poutput-psuccess</title>
<subtitle>github.com: python-cmd2/cmd2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/'/>
<entry>
<title>Fix black errors</title>
<updated>2022-11-06T02:28:21+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2022-11-06T02:28:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=eff9274456528a96c4e492ce8499916e6594348a'/>
<id>eff9274456528a96c4e492ce8499916e6594348a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update type hints and comments on to_bool()</title>
<updated>2022-11-06T02:24:25+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2022-11-06T02:24:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=5a6df16b2d6cad842a87f055ff688f818571132b'/>
<id>5a6df16b2d6cad842a87f055ff688f818571132b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Enhance str_to_bool() to accept other types</title>
<updated>2022-11-06T02:13:37+00:00</updated>
<author>
<name>kotfu</name>
<email>kotfu@kotfu.net</email>
</author>
<published>2022-11-06T02:13:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=4ea11af39e78caa0a722791e408336395a113497'/>
<id>4ea11af39e78caa0a722791e408336395a113497</id>
<content type='text'>
- Rename str_to_bool() -&gt; to_bool()
- Enhance to_bool() so that it accepts and converts bool, int, and float in addition to str
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Rename str_to_bool() -&gt; to_bool()
- Enhance to_bool() so that it accepts and converts bool, int, and float in addition to str
</pre>
</div>
</content>
</entry>
<entry>
<title>Use latest version of mypy and fix type hinting accordingly (#1239)</title>
<updated>2022-07-14T16:59:16+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2022-07-14T16:59:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=e95af81acb9c6829c969f76e40658356a4808edb'/>
<id>e95af81acb9c6829c969f76e40658356a4808edb</id>
<content type='text'>
* Use latest version of mypy and fix type hinting accordingly

Also:
- Update Pipfile to never require mock since we only support Python 3.6+
- Remove Azure Pipelines badge from Readme and fix section links there
- Added an "inv format" task to run black and isort to auto-format all code before a commit

* Try to fix type errors on versions prior to 3.8

* Restored correct types in argparse_custom.py</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use latest version of mypy and fix type hinting accordingly

Also:
- Update Pipfile to never require mock since we only support Python 3.6+
- Remove Azure Pipelines badge from Readme and fix section links there
- Added an "inv format" task to run black and isort to auto-format all code before a commit

* Try to fix type errors on versions prior to 3.8

* Restored correct types in argparse_custom.py</pre>
</div>
</content>
</entry>
<entry>
<title>Moved documentation annotation stripping into utility function. Changed argparse decorator to automatically strip annotations.</title>
<updated>2022-04-25T21:48:24+00:00</updated>
<author>
<name>Eric Lin</name>
<email>anselor@gmail.com</email>
</author>
<published>2022-04-18T16:12:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=a222470521ad0007cbeb9c9da9068b71de73e0c9'/>
<id>a222470521ad0007cbeb9c9da9068b71de73e0c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduced amount of style characters carried over from previous lines when aligning text.</title>
<updated>2022-02-23T00:52:26+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2022-02-23T00:30:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=e76dbad13cb6363d315cf851a5da3541e2138148'/>
<id>e76dbad13cb6363d315cf851a5da3541e2138148</id>
<content type='text'>
Also reduced amount of style characters appended to truncated text.
These changes were made to reduce memory usage in certain use cases of tables (e.g. nested colored tables).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also reduced amount of style characters appended to truncated text.
These changes were made to reduce memory usage in certain use cases of tables (e.g. nested colored tables).
</pre>
</div>
</content>
</entry>
<entry>
<title>Added ability to colorize all aspects of BorderedTables and AlternatingTables.</title>
<updated>2021-10-20T03:49:38+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2021-10-19T16:34:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=369cd7a07b5d6c17e762184f54de05e9965a6171'/>
<id>369cd7a07b5d6c17e762184f54de05e9965a6171</id>
<content type='text'>
Refactored utils.align_text() to print less fill_char style characters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refactored utils.align_text() to print less fill_char style characters.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added support for 8-bit/256-colors with the cmd2.EightBitFg and cmd2.EightBitBg classes.</title>
<updated>2021-10-18T17:06:20+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2021-10-11T19:20:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=f57b08672af97f9d973148b6c30d74fe4e712d14'/>
<id>f57b08672af97f9d973148b6c30d74fe4e712d14</id>
<content type='text'>
Added support for 24-bit/RGB colors with the cmd2.RgbFg and cmd2.RgbBg classes.

Removed dependency on colorama.

Deprecated cmd2.fg. Use cmd2.Fg instead.
Deprecated cmd2.bg. Use cmd2.Bg instead.

Changed type of ansi.allow_style from a string to an ansi.AllowStyle Enum class.
Fixed bug where using choices on a Settable didn't verify that a valid choice had been entered.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added support for 24-bit/RGB colors with the cmd2.RgbFg and cmd2.RgbBg classes.

Removed dependency on colorama.

Deprecated cmd2.fg. Use cmd2.Fg instead.
Deprecated cmd2.bg. Use cmd2.Bg instead.

Changed type of ansi.allow_style from a string to an ansi.AllowStyle Enum class.
Fixed bug where using choices on a Settable didn't verify that a valid choice had been entered.
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated thread name</title>
<updated>2021-09-24T18:51:23+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2021-09-24T18:51:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=c7aae956989949065ccfaccca27dcdec38224dcd'/>
<id>c7aae956989949065ccfaccca27dcdec38224dcd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed handling of argparse's default options group name which was changed in Python 3.10</title>
<updated>2021-06-17T18:10:24+00:00</updated>
<author>
<name>Kevin Van Brunt</name>
<email>kmvanbrunt@gmail.com</email>
</author>
<published>2021-06-15T17:22:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=edd4cb0f5cfb8160f9788a5df9399b2d67a00676'/>
<id>edd4cb0f5cfb8160f9788a5df9399b2d67a00676</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
