Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate support for Python 3.6 and remove dependency on attrs (#1257) | Todd Leonhardt | 2023-01-31 | 8 | -17/+9 |
| | | | | | | | | | | | | | * 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> | ||||
* | Removed Python 3.6 testing since the testing network no longer supports it ↵ | Kevin Van Brunt | 2023-01-27 | 4 | -4/+6 |
| | | | | | | on Ubuntu. Added Python 3.11 testing support. | ||||
* | Updating version tag filterplugin-ext-test-2.0.0 | Eric Lin | 2021-06-07 | 1 | -5/+5 |
| | |||||
* | Updated minimum cmd2 version for plugins to 2.0 due to API breaking changes. | Eric Lin | 2021-06-07 | 2 | -3/+3 |
| | |||||
* | Try to fix tests on master | Todd Leonhardt | 2021-06-06 | 1 | -1/+1 |
| | |||||
* | Attempt to fix test failures on master branch | Todd Leonhardt | 2021-06-06 | 1 | -1/+1 |
| | |||||
* | And that's the last of it. Passes mypy. | Eric Lin | 2021-04-06 | 1 | -1/+3 |
| | |||||
* | Deprecate Python 3.5 | Todd Leonhardt | 2021-02-20 | 7 | -21/+21 |
| | |||||
* | Add in isort changes | Todd Leonhardt | 2021-01-31 | 6 | -7/+18 |
| | |||||
* | Attempt to fix remaining black failures | Todd Leonhardt | 2021-01-31 | 2 | -2/+10 |
| | |||||
* | Add black for automatic code format | Todd Leonhardt | 2021-01-31 | 10 | -58/+30 |
| | |||||
* | Remove all use of AppVeyor for Windows testing because it is slower than ↵ | Todd Leonhardt | 2021-01-30 | 1 | -5/+3 |
| | | | | GitHub Actions for the same purpose | ||||
* | Added py.typed to signal that we support type annotations for PEP-561. Fixes ↵ | Eric Lin | 2021-01-23 | 2 | -0/+6 |
| | | | | #1036 | ||||
* | Changed isort to force wrapping of imports to reduce merge conflicts from ↵ | Eric Lin | 2021-01-22 | 7 | -8/+28 |
| | | | | minor import changes. | ||||
* | Removed relative_to | Eric Lin | 2021-01-22 | 1 | -1/+0 |
| | |||||
* | Increase the minimum versions for setuptools. Some documentation seems to ↵ | Eric Lin | 2021-01-22 | 1 | -8/+10 |
| | | | | indicate these are the versions that resolve scm_version issues | ||||
* | Fixed classifier spacingplugin-ext-test-0.2.0 | Eric Lin | 2020-09-11 | 1 | -2/+2 |
| | |||||
* | Updated URL and documentation in preparation for cmd2-ext-test 0.2.0 release | Eric Lin | 2020-09-11 | 2 | -7/+13 |
| | |||||
* | Removed remaining usages and examples with tox. Updated references to tox to ↵ | Eric Lin | 2020-08-04 | 6 | -8/+22 |
| | | | | reference to nox instead. | ||||
* | updated imports | Eric Lin | 2020-08-04 | 6 | -5/+5 |
| | | | | Added additional documentation | ||||
* | Added type annotations for fields in cmd2.Cmd. | Eric Lin | 2020-07-21 | 5 | -12/+18 |
| | | | | | | | Cleaned up docstring in external test plugin Updated some initialization to match new approach for version info discovery. Tagged some IDE-only lines as no-cover Adds plugin coverage reporting. | ||||
* | Brought in cmd2 plugin template as a first-class member of cmd2 proper | Eric Lin | 2020-07-14 | 16 | -7/+890 |
| | |||||
* | replace pkg_resources with importlib.metadata | Doug Hellmann | 2020-07-12 | 1 | -7/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Importing pkg_resources has a side-effect of scanning every installed distribution on sys.path to load the metadata, especially the entry points defined in the packages. This can have a significant launch-time cost for command line applications when there are a lot of distributions to scan. Since cmd2 is only using pkg_resources to find the version of the installed package, pkg_resources can be replaced with importlib.metadata. The implementation in the new library is significantly faster because it goes immediately to the metadata file for the requested distribution, instead of scanning all of them. There are also no import-time side-effects. importlib.metadata is a new standard library module starting with python 3.8. For earlier versions, a compatible library has been released to PyPI as 'importlib_metadata'. This change adds the new dependency with a qualifier so that it is only applied to older versions of python, and then updates the places that were importing pkg_resources to look for the different versions of the new library instead. The documentation configuration is changed to import cmd2 itself to get its version, since the package has to be installed for the metadata to be available anyway. Signed-off-by: Doug Hellmann <doug@doughellmann.com> | ||||
* | Ran isort | Todd Leonhardt | 2020-07-11 | 6 | -4/+5 |
| | |||||
* | Minor cleanup. Removed some experiments that weren't supposed to be included | Eric Lin | 2020-07-11 | 4 | -28/+9 |
| | |||||
* | external test plugin tests and coverage should now run | Eric Lin | 2020-07-11 | 14 | -117/+111 |
| | |||||
* | Copied cmd2 ext test into cmd2 baseline and linked up invoke | Eric Lin | 2020-07-11 | 14 | -0/+801 |