From 367df1034d838edc003bbf51de2a6fdd3b1bc4fc Mon Sep 17 00:00:00 2001 From: VAN BOSSUYT Nicolas Date: Sat, 11 Nov 2023 17:12:44 +0100 Subject: [PATCH] Update Python version and MyPy command. --- .github/workflows/checks.yml | 8 ++++---- cutekit/context.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index aa37f1f..c580c83 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -16,15 +16,15 @@ jobs: uses: actions/checkout@v2 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: - python-version: 3.10 + python-version: '3.x' - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r .github/workflows/requirements.txt + python -m pip install -r .github/workflows/requirements.txt - name: Run MyPy run: | - python -m mypy . + python -m mypy --install-types --non-interactive . diff --git a/cutekit/context.py b/cutekit/context.py index 5780a3c..351ecc1 100644 --- a/cutekit/context.py +++ b/cutekit/context.py @@ -5,7 +5,7 @@ import os import logging -from . import const, shell, jexpr, utils, rules, mixins, project, model +from . import const, shell, jexpr, utils, rules, mixins, model _logger = logging.getLogger(__name__)