Skip to content

Commit

Permalink
Merge pull request #19 from pytroll/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
mraspaud authored Oct 2, 2024
2 parents 34a6506 + 8facc00 commit 8c4b3d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 8c4b3d2

Please sign in to comment.