Skip to content

Commit

Permalink
Create code_quality.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranj26 authored Jul 9, 2024
1 parent b2b8197 commit fd2e97a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Code Quality

on: [push, pull_request]

jobs:
pylint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r src/requirements.txt
pip install pylint
- name: Run pylint
run: |
pylint src/*.py

0 comments on commit fd2e97a

Please sign in to comment.