Commit Graph

12 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
a076a4867a chore: Update pre-commit hooks
Update pre-commit hooks to latest version and apply fixes for
mypy type checking and linting.
2024-12-30 06:46:24 -05:00
Jon Grace-Cox
2af319bc6b Add standard color names (#76)
Closes #56
2022-08-15 14:43:27 -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
1cb03dcab9 33 fix setup readme issue (#34)
* Add bash prefixes to README code sections
* Switch to providing long description as markdown in setup.py

Closes #33
2019-11-16 23:19:38 -05:00
Jon Grace-Cox
c22485752f Use git tag for pypi package version
* Stop using Mr Bump for version handling.
* Only deploy to pypi on tags (not master branch).
* Pick up version number from Travis CI TRAVIS_TAG environment variable.
2019-06-01 03:38:41 -04:00
Jon Grace-Cox
1f2e030735 Add pytest and pytest-cov to build requirements 2019-06-01 03:38:41 -04:00
Jon Grace-Cox
8eccc69ec6 Added pygments to build requirements. 2018-02-10 11:31:16 -05:00
Jon Grace-Cox
6d9863262c Added reStructuredText syntax check to setup.py and updated README. 2018-02-10 11:27:40 -05:00
Jon Grace-Cox
bf68dd7b92 Include examples in README. Switch to markdown README. 2018-02-10 10:21:31 -05:00
Jon Grace-Cox
f0d204d743 Switch to using mister-bump for version bumping. 2018-02-09 21:42:38 -05:00