8 Commits

Author SHA1 Message Date
Jon Grace-Cox
e6318f3446 test: Add tox testing
Add `tox.ini` config with supported versions, and a new tox CI
workflow to run tox tests on master branch changes. This is "expensive"
so we may consider limiting execution further.
2024-12-30 08:29:56 -05:00
Jon Grace-Cox
bc1ff41348 Fix readme and contribution guide (#82) 2022-08-24 18:44:22 -04:00
Jon Grace-Cox
cb40df6d11 Refactor invoke tasks (#80)
- Add `--version` to cli
- Add invoke tasks:
  - `package.build`
  - `package.install`
  - `test.cli`
- Refactor invoke task implementation
- Refactor `run_pypi_tests.sh`
- Split into separate files to support running locally
2022-08-24 17:05:55 -04:00
Jon Grace-Cox
2af319bc6b Add standard color names (#76)
Closes #56
2022-08-15 14:43:27 -04:00
Jon Grace-Cox
ea2eccd948 Add testing for PyPi releases (#72) 2022-08-13 15:35:46 -04:00
Jon Grace-Cox
1c986d4ad8 Add package testing to CI (#68)
* Make `build_examples.py` callable from python
* Allow tests to run from outside project directory
* Add invoke tasks
* Add server tests
* Run travis tests against wheel package instead of local code
* Update `badge.write_badge()` to support `pathlib.Path`
* Update `CONTRIBUTING.md`
2022-08-13 13:22:15 -04:00
Jon Grace-Cox
f16867114a Add pre-commit config and apply changes (#54)
- Add .pre-commit-config.yaml with initial config.
- Add python black pre-commit config
- Apply pre-commit code changes
- Add information to CONTRIBUTING.md
- Add pre-commit to build requirements
- Run pre-commit during travis CI build
- Use a travis build matrix to control when pre-commit runs
  in the CI process. Use explicit include to only run
  pre-commit on Python 3.9.
2022-08-08 19:02:02 -04:00
Jon Grace-Cox
b6ca345ebe Drop py27 support and refactor (#51) (#52)
Python version support
======================
- Drop Python 2.7 support
- Add testing for Python 3.4 and 3.9
- Set python version requirements in setup.py

Package changes
===============
- Split module up into a package with submodules
- Break templates out into package resources
- Incorporate server into same package
- Use Enum for colors
- Refresh example badges
- Simplify documentation - Remove cli options and python api
  documentation from the README as it is hard to maintain, and
  often goes out-of-date
- Add CONTRIBUTING.md
2022-03-10 07:26:46 -05:00