1 Star 0 Fork 0

git_mirror/instagraph

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
isamu 提交于 2023-10-19 15:28 . add formatter and linter
lint:
black . --check
# Using `--profile black` to resolve conflict with black
isort . --check --profile black
# Ignoring
# - E501: max line length
# - E203 and W203: They go against PEP8: https://black.readthedocs.io/en/stable/faq.html#why-are-flake8-s-e203-and-w503-violated
flake8 . --ignore=E501,E203,W503
# Using the following options:
# --explicit-package-bases: to make mypy work without __init__.py: https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules
# --ignore-missing-imports; to make mypi work without __init__.py: https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-ignore-missing-imports
# --install-types --non-interactive: to install missing stub packages for 3rd party libraries for better type checking: https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-install-types
mypy . --explicit-package-bases --ignore-missing-imports --install-types --non-interactive
format:
black .
# Using `--profile black` to resolve conflict with black
isort . --profile black
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/git_mirror/instagraph.git
git@gitee.com:git_mirror/instagraph.git
git_mirror
instagraph
instagraph
main

搜索帮助