apply lint
This commit is contained in:
parent
e65de8115e
commit
b8c0bb03e8
|
@ -1,9 +1,9 @@
|
|||
import random
|
||||
from copy import deepcopy
|
||||
from logging import getLogger
|
||||
from math import ceil
|
||||
from re import Pattern, compile
|
||||
from typing import Dict, List, Optional, Tuple
|
||||
from copy import deepcopy
|
||||
|
||||
import numpy as np
|
||||
import torch
|
||||
|
@ -406,4 +406,4 @@ def pop_random(list: List[str]) -> str:
|
|||
"""
|
||||
i = random.randrange(len(list))
|
||||
list[i], list[-1] = list[-1], list[i]
|
||||
return list.pop()
|
||||
return list.pop()
|
||||
|
|
Loading…
Reference in New Issue