Skip to content

Commit

Permalink
Merge pull request #12 from JamesAllsopp/Adding_PyLint
Browse files Browse the repository at this point in the history
Adding pylint workflow check
  • Loading branch information
mikeqfu committed Jan 12, 2024
2 parents cb5478f + 575d6d3 commit bae7912
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Pylint

on: [push,pull_request]

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: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install -r requirements.txt
- name: Analysing the code with pylint
run: |
pylint . --recursive=y --enable=W

0 comments on commit bae7912

Please sign in to comment.