pip/pip.ini
用户目录下新建 pip 目录,创建 pip.ini 文件,输入如下内容, 之前我使用 tuna.tsinghua.edu.cn 的镜像,最近发现有问题,所有现在我选择华为云镜像(add at 2021.05.26)
[global] index-url = https://repo.huaweicloud.com/repository/pypi/simple trusted-host = repo.huaweicloud.com timeout = 120
python 静态类型检查: mypy
https://mypy.readthedocs.io/en/stable/getting_started.html