From 98ba5b4616d53a6ae5f63806cdf8da0ade64534d Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Fri, 14 May 2021 22:36:16 +0300 Subject: Fix build --- Pipfile | 4 ++-- alarmpy/tests/test_alarmpy.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Pipfile b/Pipfile index be98520..355e6d6 100644 --- a/Pipfile +++ b/Pipfile @@ -13,8 +13,8 @@ black = "==21.5b1" pylint = "*" [scripts] -alarmpy = "python alarmpy.py" +alarmpy = "python alarmpy/alarmpy.py" format = "black ." formatcheck = "black --check ." -lint = "pylint -j 0 -d R,C alarmpy.py" +lint = "pylint -j 0 -d R,C alarmpy" test = "pytest" diff --git a/alarmpy/tests/test_alarmpy.py b/alarmpy/tests/test_alarmpy.py index e7aa5cd..3ca635c 100644 --- a/alarmpy/tests/test_alarmpy.py +++ b/alarmpy/tests/test_alarmpy.py @@ -2,4 +2,5 @@ from ..alarmpy import Alarm def test_foo(): + _alarm = Alarm() assert 1 == 1 -- cgit v1.3.1