Skip to content

Commit

Permalink
build(deps): bump hypothesis from 6.3.0 to 6.3.4 (pydantic#2431)
Browse files Browse the repository at this point in the history
* build(deps): bump hypothesis from 6.3.0 to 6.3.4

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

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

* fix: mypy lint

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: PrettyWood <em.jolibois@gmail.com>
  • Loading branch information
dependabot[bot] and PrettyWood committed Mar 15, 2021
1 parent 619ff26 commit d723b25
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ansi2html==1.6.0
flake8==3.8.4
flake8-quotes==3.2.0
hypothesis==6.3.0
hypothesis==6.3.4
markdown-include==0.6.0
mdx-truly-sane-lists==1.2
mkdocs==1.1.2
Expand Down
2 changes: 1 addition & 1 deletion pydantic/_hypothesis_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def resolve_json(cls): # type: ignore[no-untyped-def]
finite = st.floats(allow_infinity=False, allow_nan=False)
inner = st.recursive(
base=st.one_of(st.none(), st.booleans(), st.integers(), finite, st.text()),
extend=lambda x: st.lists(x) | st.dictionaries(st.text(), x), # type: ignore
extend=lambda x: st.lists(x) | st.dictionaries(st.text(), x),
)
return st.builds(
json.dumps,
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements-linting.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
black==20.8b1
flake8==3.8.4
flake8-quotes==3.2.0
hypothesis==6.3.0
hypothesis==6.3.4
isort==5.7.0
mypy==0.812
pycodestyle==2.6.0
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements-testing.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage==5.5
hypothesis==6.3.0
hypothesis==6.3.4
# pin importlib-metadata as upper versions need typing-extensions to work if on python < 3.8
importlib-metadata==3.1.0;python_version<"3.8"
mypy==0.812
Expand Down

0 comments on commit d723b25

Please sign in to comment.