Skip to content

Commit

Permalink
💄format code
Browse files Browse the repository at this point in the history
  • Loading branch information
fcurella committed Apr 5, 2024
1 parent f062e78 commit a6dfcb9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
20 changes: 10 additions & 10 deletions faker/providers/phone_number/cs_CZ/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Provider(PhoneNumberProvider):

formats = (
# prefix 00420
# 601-608
# 601-608
"00420 601 ### ###",
"00420 602 ### ###",
"00420 603 ### ###",
Expand All @@ -17,20 +17,20 @@ class Provider(PhoneNumberProvider):
"00420 606 ### ###",
"00420 607 ### ###",
"00420 608 ### ###",
# 702-705
# 702-705
"00420 702 ### ###",
"00420 703 ### ###",
"00420 704 ### ###",
"00420 705 ### ###",
# 720-739
# 720-739
"00420 72# ### ###",
"00420 73# ### ###",
# 770-779
# 770-779
"00420 77# ### ###",
# 790-799
# 790-799
"00420 79# ### ###",
# prefix +420
# 601-608
# 601-608
"+420 601 ### ###",
"+420 602 ### ###",
"+420 603 ### ###",
Expand All @@ -39,16 +39,16 @@ class Provider(PhoneNumberProvider):
"+420 606 ### ###",
"+420 607 ### ###",
"+420 608 ### ###",
# 702-705
# 702-705
"+420 702 ### ###",
"+420 703 ### ###",
"+420 704 ### ###",
"+420 705 ### ###",
# 720-739
# 720-739
"+420 72# ### ###",
"+420 73# ### ###",
# 770-779
# 770-779
"+420 77# ### ###",
# 790-799
# 790-799
"+420 79# ### ###",
)
3 changes: 2 additions & 1 deletion tests/providers/test_phone_number.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def test_phone_number(self, faker, num_samples):
phone_number = faker.phone_number()
assert pattern.fullmatch(phone_number)


class TestCsCz:
"""Test cs_CZ phone number provider methods"""

Expand All @@ -71,7 +72,7 @@ def test_phone_number(self, faker, num_samples):
phone_number = faker.phone_number()
assert pattern.fullmatch(phone_number)


class TestSkSk:
"""Test sk_SK phone number provider methods"""

Expand Down

0 comments on commit a6dfcb9

Please sign in to comment.