Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#44)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/python-poetry/poetry: 1.7.0 → 1.8.0](python-poetry/poetry@1.7.0...1.8.0)
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.3](astral-sh/ruff-pre-commit@v0.2.2...v0.3.3)
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](pre-commit/mirrors-mypy@v1.8.0...v1.9.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Mar 20, 2024
1 parent ad86202 commit b36b677
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ fail_fast: false

repos:
- repo: https://github.com/python-poetry/poetry
rev: 1.7.0
rev: 1.8.0
hooks:
- id: poetry-check

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2
rev: v0.3.3
hooks:
- id: ruff
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
rev: v1.9.0
hooks:
- id: mypy
args: [--ignore-missing-imports]
Expand Down
1 change: 1 addition & 0 deletions src/cloai/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Entry point of the cloai package."""

import asyncio
import os
import sys
Expand Down
1 change: 1 addition & 0 deletions src/cloai/cli/commands.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Contains the core business logic of the OpenAI CLI."""

import asyncio
import logging
import pathlib
Expand Down
1 change: 1 addition & 0 deletions src/cloai/cli/parser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Command line interface for the OpenAI API."""

import argparse
import pathlib
import sys
Expand Down
1 change: 1 addition & 0 deletions src/cloai/core/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Configuration for the cloai module."""

import enum
import functools
import logging
Expand Down
1 change: 1 addition & 0 deletions src/cloai/core/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Custom exceptions."""

from cloai.core import config

logger = config.get_logger()
Expand Down
1 change: 1 addition & 0 deletions src/cloai/core/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utility functions for cloai."""

import math
import pathlib
import uuid
Expand Down
1 change: 1 addition & 0 deletions src/cloai/openai_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""This module contains interactions with OpenAI models."""

import abc
import logging
import pathlib
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test configurations."""

import dataclasses
import os
from unittest import mock
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test___main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the entrypoint."""

import os

import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_commands.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the commands module."""

import pathlib
from unittest import mock

Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_openai_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Unit tests for the OpenAI API module."""

import tempfile
from typing import Any
from unittest import mock
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_parser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the parser module."""

import argparse
import os
import pathlib
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the CLI utility functions."""

import pathlib
import tempfile

Expand Down

0 comments on commit b36b677

Please sign in to comment.