Skip to content

task(.github): Adicionar linter básico para projeto. #3

task(.github): Adicionar linter básico para projeto.

task(.github): Adicionar linter básico para projeto. #3

Workflow file for this run

name: Lint Style Check
on:
push:
branches:
- main
- task/add-linter
pull_request:
branches:
- main
jobs:
lint-style:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12.6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Run Flake8 (Style)
run: |
flake8 . --exclude=migrations,__pycache__,.venv --show-source --statistics