-
Notifications
You must be signed in to change notification settings - Fork 8
/
.coveragerc
35 lines (34 loc) · 986 Bytes
/
.coveragerc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[run]
cover_pylib = false
source = tinyscript
omit =
*/site-packages/*
src/tinyscript/__main__.py
src/tinyscript/hotkeys.py
src/tinyscript/warnings.py
src/tinyscript/helpers/termsize.py
tests/*
[report]
exclude_lines =
pragma: no cover
# __main__ logics
if\s+__name__\s+==\s+(?P<q>(?:[\'\"]))__main__(?P=q)\s+:
# sudo when using 'initialize'
if sudo and not is_admin():
# 'interact' module - remote interaction
class ConsoleSocket
class RemoteInteractiveConsole
# exit tasks
def __at_exit\(\)\:
if DARWIN:
if WINDOWS:
raise NotImplementedError
except NotImplementedError:
def hotkeys(hotkeys, silent=True):
super\(NewClass\, self\)\.__init__
# optional packages not installed or different platform or cumbersome to test
if not hotkeys_enabled:
def stdin_pipe\(\):
Xlib.error.DisplayConnectionError
def send_mail
except KeyboardInterrupt: