Merge branch 'main' into update_doc #79
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-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- uses: psf/black@stable | |
with: | |
options: ". --check" | |
- name: Setup flake8 annotations | |
uses: rbialon/flake8-annotations@v1 | |
- name: flake8 for syntax | |
run: | | |
python -m pip install flake8 | |
flake8 --version | |
flake8 --select=F --ignore=F403,F405 --per-file-ignores=**__init__.py:F401 --statistics |