Skip to content

Commit

Permalink
Merge pull request #23 from showlibia/master
Browse files Browse the repository at this point in the history
feat: add pylint CI check
  • Loading branch information
tttturtle-russ authored Oct 20, 2024
2 parents 582b015 + 3595059 commit aefc15d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Pylint CI check

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
python-code-format:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2

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

- name: Display Python version
run: python --version

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Run Pylint
run: |
pylint **/*.py --fail-under=9.0

0 comments on commit aefc15d

Please sign in to comment.