Skip to content

Commit 96b31f0

Browse files
reviews and cleanup
1 parent b6b1745 commit 96b31f0

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

ci_pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ markers = [
1515
"noxvfb: tests that should not run in xvfb sessions"
1616
]
1717

18-
addopts = "-vs --ci --run-headless --json-report --json-report-file artifacts/report.json --reruns 4 -n auto --reruns-delay 3 -m 'not incident and not unstable and not headed' --html=artifacts/report.html"
18+
addopts = "-vs --ci --run-headless --json-report --json-report-file artifacts/report.json --reruns 3 -n auto --reruns-delay 3 -m 'not incident and not unstable and not headed' --html=artifacts/report.html"
1919

2020
[tool.ruff]
2121
target-version = "py310"

ci_xvfb_pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ markers = [
1414
"locale_gb: tests run in GB locale versions",
1515
"noxvfb: tests that should not run in xvfb sessions"
1616
]
17-
addopts = "-vs --ci --run-headless --json-report --json-report-file artifacts/report.json -n auto --reruns 4 --reruns-delay 3 -m 'not unstable and not headed and not noxvfb' --html=artifacts/report.html"
17+
addopts = "-vs --ci --run-headless --json-report --json-report-file artifacts/report.json -n auto --reruns 3 --reruns-delay 3 -m 'not unstable and not headed and not noxvfb' --html=artifacts/report.html"
1818

1919
[tool.ruff]
2020
target-version = "py310"

modules/util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -564,13 +564,13 @@ def normalize_regional_phone_numbers(self, phone: str, region: str) -> str:
564564
# Determine country code
565565
country_code = country_codes.get(
566566
region, "1"
567-
) # Default to "1" (US/CA) if region is unknown
567+
) # Default to "1" (US/CA) if the region is unknown
568568
# handle leading zeros
569569
local_number = digits
570570

571-
# Check if phone already contains a valid country code
571+
# Check if the phone number already contains a valid country code
572572
if digits.startswith(country_code):
573-
# Remove country code from local number
573+
# Remove country code from the local number
574574
local_number = digits[len(country_code) :]
575575

576576
# Handle leading zero in local numbers (France & Germany)

selected_l10n_mappings

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)