Bump pylint from 3.0.0 to 3.0.1 #94
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
# This workflow runs the Flake8 linter on git push | |
name: Flake8 | |
on: [ push ] | |
jobs: | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install Poetry | |
uses: Gr1N/setup-poetry@v8 | |
- name: Install library and dependencies | |
run: | | |
poetry run pip install --upgrade pip setuptools | |
poetry install --only linters | |
- name: Lint with flake8 | |
run: | | |
# Stop the build if there are Python syntax errors or undefined names | |
poetry run flake8 --count --select=E9,F63,F7,F82 --show-source --statistics | |
# exit-zero treats all errors as warnings | |
poetry run flake8 --count --exit-zero --statistics |