代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。