added mypy to the actions workflow
All checks were successful
Actions / Lint Code (Ruff, MyPy, & Pylint) (push) Successful in 16s
All checks were successful
Actions / Lint Code (Ruff, MyPy, & Pylint) (push) Successful in 16s
This commit is contained in:
parent
e678599a86
commit
4a8c750cbe
1 changed files with 9 additions and 4 deletions
|
@ -5,19 +5,24 @@ on:
|
|||
- 'master'
|
||||
|
||||
jobs:
|
||||
Lint Code (Ruff & Pylint):
|
||||
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 and Pylint
|
||||
run: pip install ruff pylint
|
||||
- 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 Pylint
|
||||
run: pylint --rcfile=.gitea/workflows/config/.pylintrc $(git ls-files '*.py')
|
||||
run: pylint --rcfile=.gitea/workflows/config/.pylintrc $(git ls-files '*.py')
|
||||
continue-on-error: true
|
||||
|
||||
- name: Analysing code with MyPy
|
||||
run: mypy $(git ls-files '*.py')
|
||||
continue-on-error: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue