Skip to content

Fix pylint errors.

Fix pylint errors. #14

Workflow file for this run

name: python lint
on:
push:
branches:
- master
paths:
- '*.py'
- '*.wsgi'
- '.pylintrc'
- '.github/workflows/pylint.yml'
pull_request:
branches:
- master
paths:
- '*.py'
- '*.wsgi'
- '.pylintrc'
- '.github/workflows/pylint.yml'
workflow_dispatch:
jobs:
lint:
name: Run python linter
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@main
- name: Install packages
run: |
sudo apt install pylint python3-lxml python3-requests python3-flask
- name: Run pylint
run: |
pylint *.py *.wsgi