Skip to content

Commit

Permalink
Create pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyecx committed May 28, 2021
1 parent ca204cf commit e35e1e4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pylint

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
working-directory: ./faultybot
run: |
pylint `ls -R|grep .py$|xargs`

0 comments on commit e35e1e4

Please sign in to comment.