Skip to content

Commit

Permalink
Bump hypothesis from 6.112.2 to 6.112.4 in /src/requirements (#1675)
Browse files Browse the repository at this point in the history
* Bump hypothesis from 6.112.2 to 6.112.4 in /src/requirements

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

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and pre-commit-ci[bot] authored Oct 8, 2024
1 parent edfea2c commit 453d403
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/bornhack/allauth.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
"""Custom allauth account adapter based on allauth_2fa.adapter.OTPAdapter."""

from allauth_2fa.adapter import OTPAdapter
import uuid


class UsernameUUIDAdapter(OTPAdapter):
"""Custom allauth account adapter based on allauth_2fa.adapter.OTPAdapter."""

def generate_unique_username(txts, regex=None):
"""Generate a UUID4 as username."""
return str(uuid.uuid4())
2 changes: 1 addition & 1 deletion src/requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ django-debug-toolbar==4.4.6
factory_boy==3.3.1
coverage==7.6.1
pre-commit==3.8.0
hypothesis==6.112.2
hypothesis==6.112.4
tblib==3.0.0
unittest-xml-reporting==3.2.0
pipdeptree==2.23.4
4 changes: 3 additions & 1 deletion src/shop/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,9 @@ class Meta:
slug = models.SlugField(unique=True, max_length=100)

price = models.IntegerField(
help_text=_("Price of the product (in DKK, including VAT). The price can not be changed."),
help_text=_(
"Price of the product (in DKK, including VAT). The price can not be changed."
),
)

description = models.TextField()
Expand Down

0 comments on commit 453d403

Please sign in to comment.