Skip to content

Commit

Permalink
Updating patterns to libphonenumber v8 12 11 (#14)
Browse files Browse the repository at this point in the history
* Updating patterns to libphonenumber v8.12.11
  • Loading branch information
tolstislon committed Oct 12, 2020
1 parent 89988f1 commit 70e8db3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- stage: "flake8"
python: "3.6"
env:
- FLAKE8=3.8.3
- FLAKE8=3.8.4
- PEP8_NAMING=0.11.1
install:
- pip install flake8==$FLAKE8
Expand All @@ -38,7 +38,7 @@ jobs:
- phone-gen --version
after_success: false
env:
- PHONENUMBERS="8.12.10" # last version
- PHONENUMBERS="8.12.11" # last version

python:
- "pypy3"
Expand All @@ -50,7 +50,7 @@ python:
install:
- pip install phonenumbers==$PHONENUMBERS
- pip install pytest-cov==2.10.1
- pip install pytest==6.0.1
- pip install pytest==6.1.1
- pip install -e .
script:
- pip freeze | grep phonenumbers
Expand Down
6 changes: 3 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ verify_ssl = true

[dev-packages]
requests = "==2.24.0"
pytest = "==6.0.1"
pytest = "==6.1.1"
pytest-cov = "==2.10.1"
phonenumbers = "==8.12.10"
phonenumbers = "==8.12.11"
black = "==20.8b1"
flake8 = "==3.8.3"
flake8 = "==3.8.4"
pep8-naming = "==0.11.1"

[packages]
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ Need Python 3.6 or more.

Changelog
----
* **1.3.8** Updating patterns to libphonenumber v8.12.11
* **1.3.7** Updating patterns to libphonenumber v8.12.10
* **1.3.6** Updating patterns to libphonenumber v8.12.9
* **1.3.5** Updating patterns to libphonenumber v8.12.8
Expand Down
8 changes: 4 additions & 4 deletions phone_gen/patterns.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
"""
Auto-generated file 2020-09-29 18:09:07 UTC
Resource: https://github.com/google/libphonenumber v8.12.10
Auto-generated file 2020-10-12 13:09:29 UTC
Resource: https://github.com/google/libphonenumber v8.12.11
"""


PATTERNS = {
"info": "libphonenumber v8.12.10",
"info": "libphonenumber v8.12.11",
"data": {
"AC": {"code": "247", "pattern": "((6[2-467][\\d]{3}))"},
"AD": {"code": "376", "pattern": "(([78][\\d]{5}))"},
Expand Down Expand Up @@ -300,7 +300,7 @@
},
"HK": {
"code": "852",
"pattern": "(((384[0-5])|(58(0[1-8])|(1[2-9]))[\\d]{4})|((2([13-9][\\d])|(2[013-9]))|(3([1569][0-24-9])|(4[0-246-9])|(7[0-24-69])|(89))[\\d]{5}))",
"pattern": "(((2([13-9][\\d])|(2[013-9])[\\d])|(3(([1569][0-24-9])|(4[0-246-9])|(7[0-24-69])[\\d])|(8(4[0-6])|(5[0-5])|(9[\\d])))|(58(0[1-8])|(1[2-9]))[\\d]{4}))",
},
"HN": {
"code": "504",
Expand Down

0 comments on commit 70e8db3

Please sign in to comment.