TYP/REF: remove mypy ignore from localization.py
Related to https://github.com/pandas-dev/pandas/issues/37715
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

Thanks @Moisan 