Skip to content

Commit

Permalink
dependency management
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaetani committed Nov 21, 2024
1 parent 38c5fbf commit ca01005
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions notifications_utils/recipients.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def normalise_phone_number(number):
return number.lstrip("0")


@deprecated("Please use is_nl_phone_number()")
@deprecated(version="75.1.0-patch", reason="Superseded by is_nl_phone_number()")
def is_uk_phone_number(number):
if number.startswith("0") and not number.startswith("00"):
return True
Expand Down Expand Up @@ -569,7 +569,7 @@ def use_numeric_sender(number):
return INTERNATIONAL_BILLING_RATES[prefix]["attributes"]["alpha"] == "NO"


@deprecated("Please use validate_nl_phone_number()")
@deprecated(version="75.1.0-patch", reason="Superseded by is_nl_phone_number()")
def validate_uk_phone_number(number):
number = normalise_phone_number(number).lstrip(uk_prefix).lstrip("0")

Expand Down
3 changes: 2 additions & 1 deletion requirements_for_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ pytest-profiling==1.7.0
redis>=4.3.4 # Earlier versions of redis miss features the tests need
snakeviz==2.1.1
black==23.10.1 # Also update `.pre-commit-config.yaml` if this changes
ruff==0.0.272 # Also update `.pre-commit-config.yaml` if this changes
ruff==0.0.272 # Also update `.pre-commit-config.yaml` if this changes
Deprecated==1.2.15

0 comments on commit ca01005

Please sign in to comment.