Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Mar 27, 2024
1 parent ff1cd52 commit dcba2e2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions typer/main.py
Expand Up @@ -8,7 +8,18 @@
from pathlib import Path
from traceback import FrameSummary, StackSummary
from types import ModuleType, TracebackType
from typing import Any, Callable, Dict, Iterable, List, Optional, Sequence, Tuple, Type, Union
from typing import (
Any,
Callable,
Dict,
Iterable,
List,
Optional,
Sequence,
Tuple,
Type,
Union,
)
from uuid import UUID

import click
Expand Down Expand Up @@ -140,7 +151,7 @@ def __init__(
pretty_exceptions_enable: bool = True,
pretty_exceptions_show_locals: bool = True,
pretty_exceptions_short: bool = True,
pretty_exceptions_suppress: Iterable[Union[str, ModuleType]] = ()
pretty_exceptions_suppress: Iterable[Union[str, ModuleType]] = (),
):
self._add_completion = add_completion
self.rich_markup_mode: MarkupMode = rich_markup_mode
Expand Down
2 changes: 1 addition & 1 deletion typer/models.py
Expand Up @@ -515,7 +515,7 @@ def __init__(
pretty_exceptions_enable: bool = True,
pretty_exceptions_show_locals: bool = True,
pretty_exceptions_short: bool = True,
pretty_exceptions_suppress: Iterable[Union[str, ModuleType]] = ()
pretty_exceptions_suppress: Iterable[Union[str, ModuleType]] = (),
) -> None:
self.pretty_exceptions_enable = pretty_exceptions_enable
self.pretty_exceptions_show_locals = pretty_exceptions_show_locals
Expand Down

0 comments on commit dcba2e2

Please sign in to comment.