LSSTDESC / firecrown

DESC Cosmology Likelihood Framework
BSD 3-Clause "New" or "Revised" License
29 stars 7 forks source link

Python 3.9+ no longer needs typing.List, Set, Dict, or Tuple #375

Closed marcpaterno closed 7 months ago

marcpaterno commented 7 months ago

As of Python 3.9, the builtins list, set, dict and tuple can be used in type annotations, rather than the types in the typing module (which were needed for Python 3.8 and earlier). We should simplify our code by using the builtin types.