Commit Graph

569 Commits

Author SHA1 Message Date
Chris Rose 9bc2954038 Updated the changelog for v2.0.3 release 2021-12-12 12:10:40 -08:00
Chris Rose 339372ff90 Release 2.0.3 2021-12-12 12:10:40 -08:00
Serg Tereshchenko 8615744549 style: Use proposed syntax 2021-12-12 11:57:44 -08:00
Serg Tereshchenko 7b4178a8ab fix(typing): Added __all__ to package root
Refs #175
2021-12-12 11:57:44 -08:00
pre-commit-ci[bot] 8012b420e7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-12-06 15:06:22 -08:00
pre-commit-ci[bot] a8db39d399 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 21.11b1 → 21.12b0](https://github.com/psf/black/compare/21.11b1...21.12b0)
2021-12-06 15:06:22 -08:00
Chris Rose fc77151623 Re-enable pypy3 in the test matrix 2021-12-05 16:48:57 -08:00
Chris Rose 1b55755246 Re-arrange coverage run to drop codecov.io
Inspired by Hynek: https://hynek.me/articles/ditch-codecov-python/
2021-12-05 16:20:54 -08:00
Chris Rose 8309e5e608 Add coverage for Python 3.10 2021-12-05 16:20:54 -08:00
pre-commit-ci[bot] 9d64bd2080 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v2.5.0 → v4.0.1](https://github.com/pre-commit/pre-commit-hooks/compare/v2.5.0...v4.0.1)
- [github.com/asottile/blacken-docs: v1.6.0 → v1.12.0](https://github.com/asottile/blacken-docs/compare/v1.6.0...v1.12.0)
- https://gitlab.com/PyCQA/flake8https://github.com/PyCQA/flake8
- [github.com/PyCQA/flake8: 3.8.0a2 → 4.0.1](https://github.com/PyCQA/flake8/compare/3.8.0a2...4.0.1)
- [github.com/psf/black: 19.10b0 → 21.11b1](https://github.com/psf/black/compare/19.10b0...21.11b1)
2021-11-22 15:28:20 -08:00
Chris Rose 876571afc4 Add the `toml` extra for coverage
Coverage requires toml support to work when a pyproject.toml is present.
2021-10-10 08:26:11 -07:00
Chris Rose 8e640b8f8a Move pytest-xdist to the tests extras
tox runs in strict mode on CI, which causes failures when it can't find
all of its ini options
2021-10-10 08:26:11 -07:00
Chris Rose 004cbab4d9 Explicitly test and cover Python 3.10 release 2021-10-10 08:26:11 -07:00
Denis Alexeev dec33de1dc add a couple of tests 2021-10-02 07:54:12 -07:00
Denis Alexeev f1e220f9d4 Fixes according to reviewer's remarks 2021-10-02 07:54:12 -07:00
Denis Alexeev 80c92bfe2b Fixes according to reviewer's remarks 2021-10-02 07:54:12 -07:00
Denis Alexeev 09ec9c5eb0 Add repr into StringDescription 2021-10-02 07:54:12 -07:00
Simon Brunning 498e031815 Works on Python 3.10 now, I think. 2021-08-11 08:25:51 -07:00
Simon Brunning b47162b137 Remove duplicate and empty tests. 2021-08-11 08:25:51 -07:00
Simon Brunning baedc45b81 Add simple test which checks type annotations are correct. 2021-08-11 08:25:51 -07:00
Simon Brunning 6620ad403c Add simple test which checks type annotations are correct. 2021-08-11 08:25:51 -07:00
Simon Brunning 84e2f72f2e Fix is_() type annotations. 2021-08-11 08:25:51 -07:00
Simon Brunning 8b221ba7d2 Use comment assertions, and pin versions. Add test for is_() 2021-08-11 08:25:51 -07:00
Simon Brunning 19ff6351da Skip #178 test, since we know if fails for now. 2021-08-11 08:25:51 -07:00
Simon Brunning 344f5c6077 Recreated #178 2021-08-11 08:25:51 -07:00
Simon Brunning 41f9e6fcc3 Add type annotation test for empty() 2021-08-11 08:25:51 -07:00
Simon Brunning 725eb2c354 Apply some organisation to type annotation tests 2021-08-11 08:25:51 -07:00
Simon Brunning 84389ba67e Add type annotation test for assert_that() 2021-08-11 08:25:51 -07:00
Simon Brunning a9e4b70f5c Add simple test which checks type annotations are correct. 2021-08-11 08:25:51 -07:00
Simon Brunning b91c916c68 Fix is_() type annotations. 2021-08-11 07:06:19 -07:00
Simon Brunning 8593194c2d Fix typing target in build
As of [mypy version 0.900](http://mypy-lang.blogspot.com/2021/06/mypy-0900-released.html), type stubs for 3rd party libraries are not automatically installed, so we have to do so explicitly.
2021-06-30 07:31:15 -07:00
Simon Brunning 3b11537ee6 Changelog for #156 2021-03-08 10:35:21 +00:00
Chris Rose ebe9becbc5 Change the doc theme to Alabaster
Fixes #166
2021-03-08 07:05:37 +00:00
Chris Rose 834805d139 Removed requirement pinning 2021-03-07 10:55:44 -08:00
Chris Rose f41c5d3755 CI updates
- test python 3.10 - fixes #160
- move the docs/lint/typing tasks to 3.9 from 3.7/3.8
- include 3.9 in coverage
- use 3.9 as the base python for cases where only one version is needed
- restore numpy testing on Python 3.6-3.9 - fixes #162
- test on macOS and windows - fixes #163
- Add key development tools to the DEV_TOOLS requirements
- Support ASDF for interactive tox testing
- Update the CI branches to include main - part of #159
2021-03-07 10:43:48 -08:00
Simon Brunning aa498af0c2 If has_entry() has only a single matching key, report the matching value. 2021-03-06 00:00:10 -08:00
Simon Brunning bbd147d2df Fix for https://github.com/hamcrest/PyHamcrest/issues/156 - if has_entry() has only a single matching key, report the mismatching value. 2021-03-06 00:00:10 -08:00
Simon Brunning 02cf6ac09a Use 3.6 style variable type annotations rather than type comments. 2021-03-06 00:00:01 -08:00
Chris Rose 00bd42e31e Fix numpy testing being missed
Adds py36-numpy to the envlist, which should result in it being built
2020-10-23 16:38:43 -07:00
Chris Rose 906bcdafd5 Bump upcoming version to 2.0.3 2020-10-23 08:11:20 -07:00
Chris Rose 044d16e8af Remove travis build 2020-10-23 08:11:20 -07:00
Chris Rose ce6cbb8bbd Trim down the badge set to not be a self-parody
I'll be the first to admit, I went a bit overboard doing these. Trimming
down to just CI, docs, and package publication info
2020-10-22 08:00:01 -07:00
Chris Rose 8ae3dad271 Add dev setup extra for local development 2020-10-21 12:02:53 -07:00
Chris Rose b5c6afecf5 Clean up linter warnings
* exclude __init__.py from various wildcard import rules
* clean up small issues in several other files
2020-10-21 12:02:53 -07:00
Chris Rose 0c8d812db0 Clean up wildcard imports in tests 2020-10-21 12:02:53 -07:00
Chris Rose 3b21519674 Remove the legacy of the pip-tools conversion 2020-10-21 12:02:53 -07:00
Chris Rose ba2993fda3 Fix codecov badge 2020-10-21 00:09:58 -07:00
Chris Rose 3205c3df65 Codecov is nice, but its comments are not 2020-10-20 23:58:07 -07:00
Chris Rose 6efb6aa520 Changes needed to support travis in transition 2020-10-20 23:44:02 -07:00
Chris Rose e53929085a Update to modern build / package practices
* define pyproject.toml with tool configuration
* define setuptools dependencies for test extras
* update to a moder tox config based on attrs
* configure RTD and coverage in standard ways
* switch to an RST changelog and towncrier
* check the manifest on CI

The marquee change here is a switch to github actions, instead of
Travis. While this commit won't turn off Travis, the one after it will.
2020-10-20 23:27:44 -07:00