File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 11import logging
2- import platform
32import os
3+ import platform
44from datetime import datetime , timedelta , timezone
55from time import sleep
66
7- from aw_core .models import Event
87from aw_client import ActivityWatchClient
8+ from aw_core .models import Event
99
1010from .config import load_config
1111
1212system = platform .system ()
1313
1414if system == "Windows" :
15- from .windows import seconds_since_last_input
15+ # noreorder
16+ from .windows import seconds_since_last_input # fmt: skip
1617elif system == "Darwin" :
17- from .macos import seconds_since_last_input
18+ # noreorder
19+ from .macos import seconds_since_last_input # fmt: skip
1820elif system == "Linux" :
19- from .unix import seconds_since_last_input
21+ # noreorder
22+ from .unix import seconds_since_last_input # fmt: skip
2023else :
2124 raise Exception (f"Unsupported platform: { system } " )
2225
Original file line number Diff line number Diff line change 11import ctypes
22import time
3- from ctypes import POINTER , WINFUNCTYPE , Structure
3+ from ctypes import POINTER , WINFUNCTYPE , Structure # type: ignore
44from ctypes .wintypes import BOOL , DWORD , UINT
55
66
You can’t perform that action at this time.
0 commit comments