From b0f26d58d3a13a10efaa55452639b419fbdb04f2 Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:56:55 +0200 Subject: [PATCH] tox --- src/HABApp/core/items/base_item.py | 1 - tox.ini | 13 +++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/HABApp/core/items/base_item.py b/src/HABApp/core/items/base_item.py index 15bc0ba7..c6564fa9 100644 --- a/src/HABApp/core/items/base_item.py +++ b/src/HABApp/core/items/base_item.py @@ -1,4 +1,3 @@ -from datetime import datetime as dt_datetime from typing import TypeVar from whenever import Instant diff --git a/tox.ini b/tox.ini index d54d0ac5..03740578 100644 --- a/tox.ini +++ b/tox.ini @@ -14,12 +14,21 @@ python = 3.12: py312 -[testenv] +; [testenv] +; deps = +; -r{toxinidir}/requirements.txt +; +; commands = +; python -m pytest + + +[slotscheck:py312] deps = -r{toxinidir}/requirements.txt + slotscheck commands = - python -m pytest + cd {toxinidir}/src && python -m slotscheck HABApp # Environment variable CI from github actions