Skip to content

Add 5e1ac640a33d6e8c8f6dfca1f993cf4e6f9dac2efbc11fd22324403b9aaedd8f_… #1116

Add 5e1ac640a33d6e8c8f6dfca1f993cf4e6f9dac2efbc11fd22324403b9aaedd8f_…

Add 5e1ac640a33d6e8c8f6dfca1f993cf4e6f9dac2efbc11fd22324403b9aaedd8f_… #1116

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 Poetry dependencies
- name: Cache Poetry dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install Dependencies
run: |
poetry install
- name: Run Pylint
run: poetry run pylint src/*.py --errors-only