Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

Commit e57fd1b

Browse files
committed
npm lint command and PEP8 fix
1 parent ec36e9d commit e57fd1b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@
2323
"bugs": {
2424
"url": "https://github.com/phw/webcam-access-monitor/issues"
2525
},
26-
"homepage": "https://github.com/phw/webcam-access-monitor#readme"
26+
"homepage": "https://github.com/phw/webcam-access-monitor#readme",
27+
"scripts": {
28+
"lint": "eslint 'gnome-shell-extension/**/*.js' && flake8 service/*.py service/*/*.py"
29+
}
2730
}

service/webcam-access-monitor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
import dbus
2121
from gi.repository import GObject
2222
from dbus.mainloop.glib import DBusGMainLoop
23-
from webcamaccessmonitor.dbus import WebcamStatusService, BUS_NAME, OBJECT_PATH
23+
from webcamaccessmonitor.dbus import (WebcamStatusService,
24+
BUS_NAME, OBJECT_PATH)
2425
from webcamaccessmonitor.webcammonitor import WebcamMonitor
2526

2627
loop = GObject.MainLoop()

0 commit comments

Comments
 (0)