name: Lint on: push: branches: ["**"] pull_request: branches: ["**"] jobs: python-lint: name: Python (flake8) runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Install Python and flake8 run: | apt-get update -qq apt-get install -y -qq python3 python3-pip pip3 install flake8 - name: Run flake8 run: flake8 . --exclude=__pycache__,.git