Skip to content

Commit

Permalink
build(deps): upgrade dependencies (#175)
Browse files Browse the repository at this point in the history
* build(deps): upgrade dependencies

* 🎨 run pre-commit

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: Ajinkya Indulkar <[email protected]>
  • Loading branch information
3 people authored Jan 29, 2024
1 parent aa69ef0 commit faa7406
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 113 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repos:
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.0
hooks:
- id: black

Expand Down
3 changes: 1 addition & 2 deletions lanarky/adapters/openai/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ def __init__(self, client: AsyncOpenAI = None):
@abstractmethod
async def stream_response(
self, *args: Any, **kwargs: dict[str, Any]
) -> Generator[str, None, None]:
...
) -> Generator[str, None, None]: ...


class ChatCompletionResource(OpenAIResource):
Expand Down
3 changes: 1 addition & 2 deletions lanarky/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
except ImportError:
from enum import Enum

class StrEnum(str, Enum):
...
class StrEnum(str, Enum): ...


PYDANTIC_V2 = pydantic.VERSION.startswith("2.")
Expand Down
Loading

0 comments on commit faa7406

Please sign in to comment.