graphinate.tools   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A utcnow() 0 2 1
1
from datetime import datetime, timezone
2
3
UTC = timezone.utc
4
5
6
def utcnow() -> datetime:
7
    return datetime.now(tz=UTC)
8