Skip to content

Commit b616d41

Browse files
authored
feat(country): add type hints for Country class (#92)
* feat(country): add type hints for `Country` class Enhances the `Country` class by adding type hints for the `code` attribute, implementing comparison and equality methods, and introducing a new property for `name`. This improves type safety and usability of the class. Implements: #91 * feat(deps): add phonenumbers package in dev deps This change adds missing `phonenumbers` package in develop to have `mypy` pass out-of-the-box. Implements: #91
1 parent 30832af commit b616d41

5 files changed

Lines changed: 243 additions & 489 deletions

File tree

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ name = "pypi"
66
[dev-packages]
77
sqlalchemy-utils = "==0.42.0"
88
sqlalchemy2-stubs = "==0.0.2a38"
9+
phonenumbers = ">=5.9.2"
910

1011
mypy = "==1.18.2"
1112
twine = "==6.2.0"

0 commit comments

Comments
 (0)