| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Start deprecation of Python 3.6
* Removed dependency on attrs and replaced with dataclasses
* Fix typing
* Added comments to assist with dropping support of Python versions in the future.
---------
Co-authored-by: Kevin Van Brunt <kmvanbrunt@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
cmd2.EightBitBg classes.
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.
|
| | |
|
| |
|
|
|
|
|
| |
Also:
- Updated flake8 and isort config in setup.cfg to be consistent with black
- Simplified how flake8 is executed by invoke task
- Simplified how flake8 is executed by GitHub Actions workflow
|
| | |
|
| |
|
|
| |
pytest" doesn't crash
|
| |
|
|
|
|
|
| |
Also:
- Added isort to Pipenv dev
- Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke
- Ran isort to sort includes
|
| | |
|
| |
|
|
| |
examples which have extra dependencies
|
| | |
|
| | |
|
| |
|