Skip to content

Commit

Permalink
properties no longer return None
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpeckham committed Feb 1, 2024
1 parent 87ec1eb commit 6d76951
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def manufacturer(self) -> str:
return WMI[self.wmi]

@property
def vds(self) -> str | None:
def vds(self) -> str:
"""The Vehicle Description Section (VDS) from the VIN
Examples:
Expand All @@ -139,7 +139,7 @@ def vds(self) -> str | None:
return self.vin[3:8]

@property
def vis(self) -> str | None:
def vis(self) -> str:
"""The Vehicle Identification Section (VIS) from the VIN
Examples:
Expand All @@ -159,7 +159,7 @@ def vis(self) -> str | None:
# return descriptor[:11]

@property
def model_year(self):
def model_year(self) -> int:
"""The vehicle model year
Examples:
Expand Down

0 comments on commit 6d76951

Please sign in to comment.