Skip to content

Commit e8a48db

Browse files
author
mscheltienne
committed
fix type-hint for verbose checker
1 parent 8deeac4 commit e8a48db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/utils/_checks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import operator
55
import os
66
from pathlib import Path
7-
from typing import Any, Optional, Union
7+
from typing import Any, Optional
88

99
import numpy as np
1010

@@ -180,7 +180,7 @@ def _check_value(
180180

181181

182182
@fill_doc
183-
def _check_verbose(verbose: Union[bool, str, int, None]) -> int:
183+
def _check_verbose(verbose: Any) -> int:
184184
"""Check that the value of verbose is valid.
185185
186186
Parameters

0 commit comments

Comments
 (0)