Update besapi.py #228
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: flake8 | |
on: | |
push: | |
paths: | |
- "**.py" | |
- ".flake8" | |
- "requirements.txt" | |
- ".github/workflows/flake8.yaml" | |
pull_request: | |
paths: | |
- "**.py" | |
- ".flake8" | |
- "requirements.txt" | |
- ".github/workflows/flake8.yaml" | |
jobs: | |
flake8: | |
name: Python Lint Flake8 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.8" | |
- name: Install flake8 | |
run: pip install flake8 | |
- name: Install requirements | |
run: pip install -r requirements.txt | |
- name: Run flake8 | |
run: flake8 --show-source --statistics . |