diff options
| author | Yuval Adam <_@yuv.al> | 2021-05-14 22:36:16 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2021-05-14 22:36:16 +0300 |
| commit | 98ba5b4616d53a6ae5f63806cdf8da0ade64534d (patch) | |
| tree | fa1a0fe024e4618a0f3769aea3ce444433d27894 | |
| parent | 3733b669471081fa21d35b5eda3d4765aaf14d68 (diff) | |
Fix build
| -rw-r--r-- | Pipfile | 4 | ||||
| -rw-r--r-- | alarmpy/tests/test_alarmpy.py | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -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 |
