Skip to content

Conversation

@adeebshihadeh
Copy link
Contributor

No description provided.



def is_valid_vin(vin: str):
return re.fullmatch(VIN_RE, vin) is not None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe this should be case-insensitive?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

went through all the logs and didn't find any cases with lowercase letters. would prefer to keep this strict then loosen it as bad VINs come in

@adeebshihadeh adeebshihadeh marked this pull request as ready for review July 25, 2022 20:31
@adeebshihadeh adeebshihadeh merged commit 6b74be5 into master Jul 25, 2022
@adeebshihadeh adeebshihadeh deleted the bad-vin-check branch July 25, 2022 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants