Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtruong committed Nov 5, 2024
1 parent ae065d7 commit ce9d6de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ select = [
"UP007", # https://docs.astral.sh/ruff/rules/non-pep604-annotation/
"UP028", # https://docs.astral.sh/ruff/rules/yield-in-for-loop/
"UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting/
"UP036", # https://docs.astral.sh/ruff/rules/outdated-version-block/
]
ignore = [
# we use Google style
Expand Down
7 changes: 1 addition & 6 deletions weave/trace/trace_sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@
import os
import site
import sys
from typing import TYPE_CHECKING, Any, Callable, Optional, Union

if sys.version_info >= (3, 8):
from typing import Literal
else:
from typing_extensions import Literal
from typing import TYPE_CHECKING, Any, Callable, Literal, Optional, Union

if TYPE_CHECKING:
from sentry_sdk._types import ExcInfo
Expand Down

0 comments on commit ce9d6de

Please sign in to comment.