1
1
Fork 0

seperate the linting runs into their own jobs
All checks were successful
Actions / Lint Code (Ruff) (push) Successful in 7s
Actions / Lint Code (MyPy) (push) Successful in 9s
Actions / Lint Code (Pylint) (push) Successful in 9s

This commit is contained in:
Seaswimmer 2024-05-08 12:51:11 -04:00
parent e84f1af036
commit aa4dbe07fd
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -5,24 +5,44 @@ on:
- 'master'
jobs:
Lint Code (Ruff, MyPy, & Pylint):
Lint Code (Ruff):
runs-on: docker
container: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Ruff, MyPy, and Pylint
run: pip install ruff mypy pylint
- name: Install Ruff
run: pip install ruff
- name: Analysing code with Ruff
run: ruff check $(git ls-files '*.py')
continue-on-error: true
Lint Code (MyPy):
runs-on: docker
container: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install MyPy
run: pip install mypy
- name: Analysing code with MyPy
run: mypy $(git ls-files '*.py')
continue-on-error: true
Lint Code (Pylint):
runs-on: docker
container: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Pylint
run: pip install pylint
- name: Analysing code with Pylint
run: pylint --rcfile=.gitea/workflows/config/.pylintrc $(git ls-files '*.py')
continue-on-error: true