Passed
Push — main ( 733392...9d7d1d )
by Jace
01:01
created

slackoff.browser   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 6
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A close() 0 2 1
1
from pathlib import Path
2
3
from . import script
4
5
FUNCTIONS = Path(__file__).parent / "browser.applescript"
6
7
8
def close() -> bool:
9
    return script.call(FUNCTIONS, "close()")
10