Skip to content

(#185) Adição de testes unitários para todas as fontes de dados #4

(#185) Adição de testes unitários para todas as fontes de dados

(#185) Adição de testes unitários para todas as fontes de dados #4

Workflow file for this run

name: Python Linter
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
pip install pylint
- name: Lint flake8
run: |
flake8 scripts --ignore=E203,W291,W293 --max-line-length=240 --show-source --statistics
find . -type f -name "*.py" -exec pylint --disable=C0103,C0301,C0114,W0703,W0622,R0913,E1101,R0903,R0915,R0912,W0612,E0401 -j 0 --exit-zero {} \;