sosia-dev / sosia

Sosia: Automatic author matching in Scopus on-line
https://sosia.readthedocs.io/
MIT License
11 stars 3 forks source link

Feat 36: Type hints #37

Closed nils-herrmann closed 2 months ago

nils-herrmann commented 3 months ago

Type hints for:

Michael-E-Rose commented 3 months ago

I just dropped support for Python 3.6 and Python 3.7. They reached their end of life long ago.

Python 3.8 will reach its end of life in October this year. I'd like you to remove support for Python 3.8 and to fully use type hints without backward compatibility for 3.6, 3.7 etc. That is, you can drop from __future__ import annotations, you can drop from typing import Annotated, and you can drop from typing import List, Dict, Tuple (and instead use the built-in collection types). We sill need Union, though.

codeclimate[bot] commented 2 months ago

Code Climate has analyzed commit af199792 and detected 0 issues on this pull request.

View more on Code Climate.