Skip to content

Bump pylint from 2.17.6 to 3.0.2 #139

Bump pylint from 2.17.6 to 3.0.2

Bump pylint from 2.17.6 to 3.0.2 #139

Workflow file for this run

name: lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Attempt to use cached dependencies
id: cache-python
uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements-dev.txt') }}
- name: Install dependencies
if: steps.cache-python.outputs.cache-hit != 'true'
run: pip install -r requirements-dev.txt
- name: Running autopep8
run: autopep8 --exit-code -ra --diff feeds/ forums/ reddit/ util/ ./main.py
- name: Running isort
run: isort .
- name: Analysing the code with pylint
run: |
pylint feeds/ forums/ reddit/ util/ ./main.py
- name: Analysing the code with pycodestyle (pep-8)
run: |
pycodestyle --show-source --show-pep8 feeds/ forums/ reddit/ util/ ./main.py