summaryrefslogtreecommitdiff
path: root/noxfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate support for Python 3.6 and remove dependency on attrs (#1257)Todd Leonhardt2023-01-311-2/+2
| | | | | | | | | | | | | * 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-271-1/+1
| | | | | | on Ubuntu. Added Python 3.11 testing support.
* Upgrade CI build systems to use Python 3.10 (#1151)Todd Leonhardt2021-10-191-2/+2
| | | | | | | | | | * Upgrade CI build systems to use Python 3.10 Changes include: - Switch Azure Pipelines to use Python 3.10 instead of 3.6 - Switch GitHub Actions to use Python 3.10 instead of 3.10b2 for main CI - Switch GitHub Actions to use Python 3.10 instead of 3.9 for all auxilliary CI * Fix nox file
* Setting the version in nox to just '3.10' appears to allow 3.10.0b2 to run ↵Eric Lin2021-06-171-1/+1
| | | | | | | | for me github CI appears to require full beta version number which is incompatably with how nox wants the version passed in. Changed CI to run test targets without specifying version and relying on nox to auto-skip unsupported versions Added Python 3.10 to azure pipelines.
* Add CI testing on Python 3.10 beta2 (#1122)Todd Leonhardt2021-06-141-1/+1
| | | | | | | * Begin testing on Python 3.10 beta 2 * Try to fix 3.10 build * Add nox session
* Change mypy and lint github steps to use nox/invoke to make CI validation ↵Eric Lin2021-06-141-0/+7
| | | | configuration/commands match developer local commands.
* Attempt to fix remaining black failuresTodd Leonhardt2021-01-311-2/+9
|
* Add black for automatic code formatTodd Leonhardt2021-01-311-17/+10
|
* Remove Python 3.10 testing because it doesn't appear to be available in ↵Todd Leonhardt2021-01-301-1/+1
| | | | GitHub Actions yet
* Try to fix flake8 lint run and Python 3.10 runsTodd Leonhardt2021-01-301-1/+1
|
* Only run a single nox session for each version of Python in GitHub Actions ↵Todd Leonhardt2021-01-301-2/+2
| | | | | | | | matrix Also: - Temporarily disable dependency caching in GitHub Actions - For Azure Pipelines MacOs testing, add Python 3.9 and remove 3.5
* Updated documentation with more explicit discussions on testingEric Lin2020-08-201-0/+1
| | | | Added unit test to verify command name validation updates.
* Adding explicit python 3.5.2 test to nox, travisEric Lin2020-08-111-3/+2
| | | | | | | Python 3.5.2 introduced a bug in typing that was fixed in 3.5.3. The bug in typing prevents the latest nox from running properly. Ubuntu 16.04 stopped at python 3.5.2. To work-around, force an older version of nox when testing 3.5.2
* Adding explicit python 3.5.3 test to nox, travis.Eric Lin2020-08-101-1/+1
| | | | Copied 3.5.4 definition of typing.Deque
* updated importsEric Lin2020-08-041-1/+3
| | | | Added additional documentation
* Added type annotations for fields in cmd2.Cmd.Eric Lin2020-07-211-5/+17
| | | | | | | 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-141-9/+10
|
* Minor cleanup. Removed some experiments that weren't supposed to be includedEric Lin2020-07-111-0/+4
|
* external test plugin tests and coverage should now runEric Lin2020-07-111-0/+4
|
* Swap out tox for noxEric Lin2020-07-081-0/+18