From 6193ca386dbc6e85f29c59fb03b4a7b27de97235 Mon Sep 17 00:00:00 2001 From: rud356 <44029251+Rud356@users.noreply.github.com> Date: Sat, 24 Jul 2021 19:55:48 +0300 Subject: [PATCH] Add mypy linting --- .github/workflows/python-tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index f9bf392..0f1ddcc 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -24,7 +24,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install flake8 pytest + python -m pip install flake8 pytest mypy types-PyYAML if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 @@ -37,3 +37,7 @@ jobs: - name: Test with pytest run: | pytest + + - name: Lint with mypy + run: | + mypy ConfigFramework