Skip to content

Commit

Permalink
style: import Protocol from extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancetnik committed Aug 5, 2023
1 parent 18071a1 commit 5ec433a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
15 changes: 3 additions & 12 deletions fast_depends/use.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
from contextlib import AsyncExitStack, ExitStack
from functools import wraps
from typing import (
Any,
Awaitable,
Callable,
Optional,
Protocol,
Sequence,
Union,
overload,
)

from typing_extensions import ParamSpec, TypeVar
from typing import Any, Awaitable, Callable, Optional, Sequence, Union, overload

from typing_extensions import ParamSpec, Protocol, TypeVar

from fast_depends.core import CallModel, build_call_model
from fast_depends.dependencies import dependency_provider, model
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ dev = [
"black>=23.3.0",
"isort>=5",
"ruff>=0.0.260",
"pyupgrade-directories",
]

[tool.hatch.metadata]
Expand Down
1 change: 1 addition & 0 deletions scripts/lint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pyup_dirs --py37-plus --recursive propan tests
mypy fast_depends
ruff fast_depends tests --fix
black fast_depends tests
Expand Down

0 comments on commit 5ec433a

Please sign in to comment.