From 1de3738164a6c38b20990d00aeae6efb775edcb0 Mon Sep 17 00:00:00 2001 From: mcgillij Date: Sun, 7 Jul 2024 03:38:12 -0300 Subject: [PATCH] fix type error, and make mypy check the new source dir --- .github/workflows/python-package.yml | 2 +- amdfan/commands.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 696c491..e831549 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -36,4 +36,4 @@ jobs: poetry run pytest - name: Test with mypy run: | - poetry run mypy src/ + poetry run mypy amdfan/ diff --git a/amdfan/commands.py b/amdfan/commands.py index 082bbca..e6259e9 100644 --- a/amdfan/commands.py +++ b/amdfan/commands.py @@ -38,7 +38,7 @@ def cli( ctx: click.Context, configuration: bool, - service: bool, + service: str, ) -> None: if configuration: print(DEFAULT_FAN_CONFIG)