|
1 | | -[run] |
2 | | -cover_pylib = false |
3 | | -source = tinyscript |
4 | | -omit = |
5 | | - /home/travis/virtualenv/* |
6 | | - */site-packages/* |
7 | | - tinyscript/__main__.py |
8 | | - tinyscript/hotkeys.py |
9 | | - tinyscript/warnings.py |
10 | | - tinyscript/helpers/termsize.py |
11 | | - tests/* |
12 | | - |
13 | | -[report] |
14 | | -exclude_lines = |
15 | | - pragma: no cover |
16 | | - # Python2/3 incompatibilities if/elif/else blocks |
17 | | - (?m)(?P<indent>(?:\s+))if.*?PY(?:THON)?3.*?\:((?P=indent)\s+.*?)+(((?P=indent)else|elif).*?\:((?P=indent)\s+.*?)+)*$ |
18 | | - (if|and) (?:not )?PY(?:THON)?3:? |
19 | | - if sys\.version_info \< \(3\,\)\: |
20 | | - if pdf_generation: |
21 | | - pdf_generation |
22 | | - # __main__ logics |
23 | | - if\s+__name__\s+==\s+(?P<q>(?:[\'\"]))__main__(?P=q)\s+: |
24 | | - import ConfigParser |
25 | | - except ImportError: |
26 | | - except NameError: |
27 | | - # sudo when using 'initialize' |
28 | | - if sudo and not is_admin(): |
29 | | - # 'interact' module - remote interaction |
30 | | - class ConsoleSocket |
31 | | - class RemoteInteractiveConsole |
32 | | - # exit tasks |
33 | | - def __at_exit\(\)\: |
34 | | - if DARWIN: |
35 | | - if WINDOWS: |
36 | | - raise NotImplementedError |
37 | | - except NotImplementedError: |
38 | | - # virtualenv package install |
39 | | - elif line.startswith\(\"Successfully installed\"\): |
40 | | - for top_level in __install |
41 | | - def __deprecated |
42 | | - def hotkeys(hotkeys, silent=True): |
43 | | - super\(NewClass\, self\)\.__init__ |
44 | | - # optional packages not installed or different platform or cumbersome to test |
45 | | - if not hotkeys_enabled: |
46 | | - try: # Windows |
47 | | - def stdin_pipe\(\): |
48 | | - Xlib.error.DisplayConnectionError |
49 | | - def send_mail |
50 | | - except KeyboardInterrupt: |
| 1 | +[run] |
| 2 | +cover_pylib = false |
| 3 | +source = tinyscript |
| 4 | +omit = |
| 5 | + /home/travis/virtualenv/* |
| 6 | + */site-packages/* |
| 7 | + src/tinyscript/__main__.py |
| 8 | + src/tinyscript/hotkeys.py |
| 9 | + src/tinyscript/warnings.py |
| 10 | + src/tinyscript/helpers/termsize.py |
| 11 | + tests/* |
| 12 | + |
| 13 | +[report] |
| 14 | +exclude_lines = |
| 15 | + pragma: no cover |
| 16 | + # Python2/3 incompatibilities if/elif/else blocks |
| 17 | + (?m)(?P<indent>(?:\s+))if.*?PY(?:THON)?3.*?\:((?P=indent)\s+.*?)+(((?P=indent)else|elif).*?\:((?P=indent)\s+.*?)+)*$ |
| 18 | + (if|and) (?:not )?PY(?:THON)?3:? |
| 19 | + if sys\.version_info \< \(3\,\)\: |
| 20 | + if pdf_generation: |
| 21 | + pdf_generation |
| 22 | + # __main__ logics |
| 23 | + if\s+__name__\s+==\s+(?P<q>(?:[\'\"]))__main__(?P=q)\s+: |
| 24 | + import ConfigParser |
| 25 | + except ImportError: |
| 26 | + except NameError: |
| 27 | + # sudo when using 'initialize' |
| 28 | + if sudo and not is_admin(): |
| 29 | + # 'interact' module - remote interaction |
| 30 | + class ConsoleSocket |
| 31 | + class RemoteInteractiveConsole |
| 32 | + # exit tasks |
| 33 | + def __at_exit\(\)\: |
| 34 | + if DARWIN: |
| 35 | + if WINDOWS: |
| 36 | + raise NotImplementedError |
| 37 | + except NotImplementedError: |
| 38 | + # virtualenv package install |
| 39 | + elif line.startswith\(\"Successfully installed\"\): |
| 40 | + for top_level in __install |
| 41 | + def __deprecated |
| 42 | + def hotkeys(hotkeys, silent=True): |
| 43 | + super\(NewClass\, self\)\.__init__ |
| 44 | + # optional packages not installed or different platform or cumbersome to test |
| 45 | + if not hotkeys_enabled: |
| 46 | + try: # Windows |
| 47 | + def stdin_pipe\(\): |
| 48 | + Xlib.error.DisplayConnectionError |
| 49 | + def send_mail |
| 50 | + except KeyboardInterrupt: |
0 commit comments