issues
search
ReproNim
/
neurodocker
Generate custom Docker and Singularity images, and minimize existing containers
https://www.repronim.org/neurodocker/
Apache License 2.0
326
stars
97
forks
source link
[MAINT] imporave readability of type hinting
#550
Closed
Remi-Gau
closed
1 year ago
Remi-Gau
commented
1 year ago
use from
__future__ import annotations
to be able to do
list[str]
instead of
typing.List[str]
import each type rather than the whole module: should make type annotation easier on the eye
__future__ import annotations
to be able to dolist[str]
instead oftyping.List[str]