Skip to content

feat: Updated src/main.py #1155

feat: Updated src/main.py

feat: Updated src/main.py #1155

Workflow file for this run

name: Pylint
on: [push]
jobs:
pylint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.x'
# Caching pip dependencies
- name: Cache pip dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Dependencies
run: pip install -r requirements.txt
- name: Run Pylint
run: pylint src/*.py --errors-only