📚 update doc build config #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: lint code | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: lint | |
run: | | |
pip --use-deprecated=legacy-resolver install flake8 | |
pip --use-deprecated=legacy-resolver install -r tests/requirements.txt | |
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . | |
python setup.py checkdocs |