Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #19

Merged
merged 4 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fail_fast: false
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.6.5'
rev: 'v0.6.8'
hooks:
- id: ruff
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
2 changes: 1 addition & 1 deletion trolldb/api/routes/databases.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from typing import Annotated

from fastapi import APIRouter, Query
from pymongo.collection import _DocumentType
from pymongo.typings import _DocumentType

from trolldb.api.routes.common import CheckCollectionDependency, CheckDataBaseDependency
from trolldb.config.config import MongoObjectId
Expand Down
2 changes: 1 addition & 1 deletion trolldb/database/mongodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
AsyncIOMotorDatabase,
)
from pydantic import validate_call
from pymongo.collection import _DocumentType
from pymongo.errors import ConnectionFailure, ServerSelectionTimeoutError
from pymongo.typings import _DocumentType

from trolldb.config.config import DatabaseConfig
from trolldb.database.errors import Client, Collections, Databases
Expand Down