Commit Graph

7 Commits

Author SHA1 Message Date
Samuel Colvin 9baec86270 try speeding up ci using caching and rearranging jobs (#3974)
* try speeding up ci using caching and rearranging jobs

* fix job references

* cache lint and docs install

* tweak caching

* tweak caching to avoid conflicts

* correct use of runner.os

* bump

* stop skipping steps depending on cache

* prevent hypothesis flakeyness

* try skipping install steps again

* remove skipping install :-(
2022-05-14 15:32:53 +01:00
Christopher Evans 9cc6d44682 Allow for generation of a constrained decimal with decimal_places argument for hypothesis plugin (#2524)
* Add functionality to create a constrained decimal strategy when decimal_place argument is provided

* adding readme

* edit readme

* adding back confloattmul test

* Update changes/2524-cwe5590.md

Co-authored-by: Eric Jolibois <em.jolibois@gmail.com>

Co-authored-by: Eric Jolibois <em.jolibois@gmail.com>
2021-05-09 11:57:14 +01:00
Tobi Lipede 429b439830 Allow for generation of a constrained float with multiple_of argument for hypothesis plugin (#2442)
* added method to generate a constrained float with multiple_of argument

* removed HealthCheck.filter_too_much

* Added change file

* fixes for case when min/max aren't provided; adding an extra test for float gt/lt with multiple of
2021-03-02 18:56:45 +00:00
Eric Jolibois 7cc8d254e9 disable hypothesis health check to avoid false negative (#2389) 2021-02-23 00:44:28 +01:00
Zac Hatfield-Dodds 5b147065a3 build(deps): bump hypothesis from 5.44.0 to 6.3.0 (#2388)
* build(deps): bump hypothesis from 5.44.0 to 6.3.0

Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.44.0 to 6.3.0.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.44.0...hypothesis-python-6.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Tweak Hypothesis / Json

Fixing a tricky interaction around priority with subclassing and metaclasses.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 15:39:45 +00:00
Samuel Colvin 1ee9737cf5 make hypothesis optional for testing (#2343)
* make hypothesis optional for testing

* fix coveragin in "_hypothesis_plugin.py"

* uncomment ci checks
2021-02-12 10:46:34 +00:00
Zac Hatfield-Dodds 771b0d3d92 Add a Hypothesis plugin (#2097)
* Configure Hypothesis

* Hypothesis plugin docs

* Add Hypothesis plugin

Co-authored-by: Samuel Colvin <s@muelcolvin.com>
2021-02-11 12:33:11 +00:00