Skip to content

Commit

Permalink
Merge pull request #42 from Zeyecx/Workflow_PyLint
Browse files Browse the repository at this point in the history
Create PyLinter
  • Loading branch information
Donbur4156 authored May 29, 2021
2 parents f3242da + e35e1e4 commit 223c8a3
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 223c8a3

Please sign in to comment.