Skip to content

Merge pull request #194 from ResidenciaTICBrisa/docs/post-mortem #44

Merge pull request #194 from ResidenciaTICBrisa/docs/post-mortem

Merge pull request #194 from ResidenciaTICBrisa/docs/post-mortem #44

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,R0914,C0115,C0116,W0511 -j 0 --exit-zero {} \;