summaryrefslogtreecommitdiff
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate support for Python 3.6 and remove dependency on attrs (#1257)Todd Leonhardt2023-01-318-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 Brunt2023-01-274-4/+6
| | | | | | on Ubuntu. Added Python 3.11 testing support.
* Updating version tag filterplugin-ext-test-2.0.0Eric Lin2021-06-071-5/+5
|
* Updated minimum cmd2 version for plugins to 2.0 due to API breaking changes.Eric Lin2021-06-072-3/+3
|
* Try to fix tests on masterTodd Leonhardt2021-06-061-1/+1
|
* Attempt to fix test failures on master branchTodd Leonhardt2021-06-061-1/+1
|
* And that's the last of it. Passes mypy.Eric Lin2021-04-061-1/+3
|
* Deprecate Python 3.5Todd Leonhardt2021-02-207-21/+21
|
* Add in isort changesTodd Leonhardt2021-01-316-7/+18
|
* Attempt to fix remaining black failuresTodd Leonhardt2021-01-312-2/+10
|
* Add black for automatic code formatTodd Leonhardt2021-01-3110-58/+30
|
* Remove all use of AppVeyor for Windows testing because it is slower than ↵Todd Leonhardt2021-01-301-5/+3
| | | | GitHub Actions for the same purpose
* Added py.typed to signal that we support type annotations for PEP-561. Fixes ↵Eric Lin2021-01-232-0/+6
| | | | #1036
* Changed isort to force wrapping of imports to reduce merge conflicts from ↵Eric Lin2021-01-227-8/+28
| | | | minor import changes.
* Removed relative_toEric Lin2021-01-221-1/+0
|
* Increase the minimum versions for setuptools. Some documentation seems to ↵Eric Lin2021-01-221-8/+10
| | | | indicate these are the versions that resolve scm_version issues
* Fixed classifier spacingplugin-ext-test-0.2.0Eric Lin2020-09-111-2/+2
|
* Updated URL and documentation in preparation for cmd2-ext-test 0.2.0 releaseEric Lin2020-09-112-7/+13
|
* Removed remaining usages and examples with tox. Updated references to tox to ↵Eric Lin2020-08-046-8/+22
| | | | reference to nox instead.
* updated importsEric Lin2020-08-046-5/+5
| | | | Added additional documentation
* Added type annotations for fields in cmd2.Cmd.Eric Lin2020-07-215-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 properEric Lin2020-07-1416-7/+890
|
* replace pkg_resources with importlib.metadataDoug Hellmann2020-07-121-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 isortTodd Leonhardt2020-07-116-4/+5
|
* Minor cleanup. Removed some experiments that weren't supposed to be includedEric Lin2020-07-114-28/+9
|
* external test plugin tests and coverage should now runEric Lin2020-07-1114-117/+111
|
* Copied cmd2 ext test into cmd2 baseline and linked up invokeEric Lin2020-07-1114-0/+801