Update lindi/LindiH5pyFile/LindiH5pyFile.py #632
Workflow file for this run
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: linter-checks | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Linter checks | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install | |
run: pip install -e . | |
- name: Install packages needed for tests | |
# pyright 1.1.336 can produce annoying errors | |
run: pip install pyright==1.1.335 flake8 pytest | |
- name: Run flake8 | |
run: cd lindi && flake8 --config ../.flake8 | |
- name: Run pyright | |
run: cd lindi && pyright . |