Update Python version and MyPy command.

This commit is contained in:
Sleepy Monax 2023-11-11 17:12:44 +01:00
parent c637675a6f
commit 367df1034d
2 changed files with 5 additions and 5 deletions

View file

@ -16,15 +16,15 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: 3.10 python-version: '3.x'
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip 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 - name: Run MyPy
run: | run: |
python -m mypy . python -m mypy --install-types --non-interactive .

View file

@ -5,7 +5,7 @@ import os
import logging 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__) _logger = logging.getLogger(__name__)