uk-fci / nhs-number

Python package to provide utilities for NHS Numbers, including validity checks, normalisation, and generation.
https://nhs-number.uk-fci.tech/
MIT License
4 stars 6 forks source link

Remove the alternate str|int specification from standardise #31

Open andylaw opened 1 year ago

andylaw commented 1 year ago

We didn't add that option to is_valid() because it requires Python 3.10 but we've allowed it to slip through on standardise(). We need to be consistent (and support older versions of Python until we decide that we don't)

(Flagged up - correctly - by @fredkingham)