Skip to content

Commit

Permalink
fix type-hint for verbose checker
Browse files Browse the repository at this point in the history
  • Loading branch information
mscheltienne committed Sep 5, 2022
1 parent 8deeac4 commit e8a48db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/utils/_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import operator
import os
from pathlib import Path
from typing import Any, Optional, Union
from typing import Any, Optional

import numpy as np

Expand Down Expand Up @@ -180,7 +180,7 @@ def _check_value(


@fill_doc
def _check_verbose(verbose: Union[bool, str, int, None]) -> int:
def _check_verbose(verbose: Any) -> int:
"""Check that the value of verbose is valid.
Parameters
Expand Down

0 comments on commit e8a48db

Please sign in to comment.