Skip to content

Commit

Permalink
feat: add coding standards github action
Browse files Browse the repository at this point in the history
  • Loading branch information
orakili committed Aug 30, 2024
1 parent 49ad833 commit 6092073
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Coding standards

on: [pull_request]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'

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

0 comments on commit 6092073

Please sign in to comment.