From 4a8c750cbe78423157d99e22f9396d50435db1b2 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 8 May 2024 12:46:36 -0400 Subject: [PATCH] added mypy to the actions workflow --- .gitea/workflows/lint.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml index ecdecd6..284167a 100644 --- a/.gitea/workflows/lint.yaml +++ b/.gitea/workflows/lint.yaml @@ -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') \ No newline at end of file + 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