Skip to content

feat(checkword): complete #18

feat(checkword): complete

feat(checkword): complete #18

Workflow file for this run

name: Python application CI
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pylint autopep8
if [ -f requirements.txt ]; then pip install -r requirements-dev.txt; fi
- name: Format with autopep8
run: |
autopep8 --in-place --recursive --max-line-length 120 --exclude="venv" .
- name: Lint with pylint
run: |
pylint **/*.py --rcfile=.pylintrc --fail-under=8.0 --exit-zero