Update README.md #38
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: | |
branches: | |
- main | |
pull_request: {} | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/[email protected] | |
with: | |
python-version: 3.9 | |
- name: Install project dependencies | |
run: | | |
pip install --upgrade pip | |
pip install -e .[lint] | |
- name: Run Flake8 | |
run: flake8 --ignore E203,E501,W503 --per-file-ignores="connect_toolbox/models.py:E402" | |
- name: Black code style | |
run: black --check --target-version py36 connect_toolbox | |
- name: Check import order with isort | |
run: isort . --check --diff | |
- name: Type check with PyType | |
run: pytype connect_toolbox --jobs auto |