Skip to content

Commit

Permalink
add linting, update info
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed May 17, 2024
1 parent 91928f3 commit b8adb54
Show file tree
Hide file tree
Showing 10 changed files with 887 additions and 33 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---

ko_fi: OXLIT
52 changes: 52 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---

name: Lint

on:
push:
branches: [latest]
paths:
- '**.py'
- '**.yml'
- '.github/workflows/lint.yml'
- 'requirements_lint.txt'
pull_request:
branches: [latest]
paths:
- '**.py'
- '**.yml'
- '.github/workflows/lint.yml'
- 'requirements_lint.txt'
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 2
defaults:
run:
shell: bash

steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install dependencies
run: |
pip install -r requirements_lint.txt >/dev/null
pip install -r requirements.txt >/dev/null
- name: Running PyLint
run: |
pylint --version
pylint --recursive=y .
- name: Running YamlLint
run: |
yamllint --version
yamllint .
Loading

0 comments on commit b8adb54

Please sign in to comment.