name: lint_pythonon:pull_request:push:# branches: [master]jobs:lint_python:runs-on: ubuntu-latest# strategy:# matrix:# os: [ubuntu-latest, macos-latest, windows-latest]# python-version: [2.7, 3.5, 3.6, 3.7, 3.8] # , pypy3]steps:- uses: actions/checkout@master- uses: actions/setup-python@master- run: pip install black codespell flake8 isort pytest- run: black --check . || true# - run: black --diff . || true# - if: matrix.python-version >= 3.6# run: |# pip install black# black --check .- run: codespell --quiet-level=2 || true # --ignore-words-list="" --skip=""- run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics- run: isort --recursive . || true- run: pip install -r requirements.txt || true- run: pytest .
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。