opened pr got accepted #617
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 Check | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.10.6 | |
- name: Install dependencies | |
run: | | |
pip install -r repo-info/requirements.txt | |
- name: Install Flake8 | |
run: | | |
pip install flake8 | |
- name: Run Flake8 | |
run: | | |
flake8 --extend-ignore=E501 |