1
1
Fork 0
PythonLearning/.gitea/workflows/lint.yaml
SeaswimmerTheFsh e84f1af036
All checks were successful
Actions / Lint Code (Ruff, MyPy, & Pylint) (push) Successful in 15s
ordering
2024-05-08 12:49:17 -04:00

28 lines
722 B
YAML

name: Actions
on:
push:
branches:
- 'master'
jobs:
Lint Code (Ruff, MyPy, & Pylint):
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: Analysing code with Ruff
run: ruff check $(git ls-files '*.py')
continue-on-error: true
- name: Analysing code with MyPy
run: mypy $(git ls-files '*.py')
continue-on-error: true
- name: Analysing code with Pylint
run: pylint --rcfile=.gitea/workflows/config/.pylintrc $(git ls-files '*.py')
continue-on-error: true