Skip to content

Commit

Permalink
tox
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 committed Oct 18, 2024
1 parent 47bf147 commit b0f26d5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/HABApp/core/items/base_item.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from datetime import datetime as dt_datetime
from typing import TypeVar

from whenever import Instant
Expand Down
13 changes: 11 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b0f26d5

Please sign in to comment.