examples: add plaid report based read side features #2189
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: Lints and Typecheck | |
on: [pull_request] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
name: Lints and typecheck | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install aspell for pyspelling | |
run: sudo apt-get install -y aspell | |
- name: Upgrade pip | |
run: pip install --upgrade pip | |
- name: Install packages | |
run: pip install "flake8>=4.0.1" "black>=22.6.0" "mypy==0.981" "pyspelling>=2.8.2" # install 0.981 of mypy since future versions seem to be not working with `--exclude` | |
- name: flake8 lint | |
run: flake8 . | |
- name: black lint | |
run: black --diff --check . | |
- name: mypy typechecking | |
run: mypy . | |
- name: spellcheck | |
run: pyspelling |