summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Pipfile4
-rw-r--r--alarmpy/tests/test_alarmpy.py1
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