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

Chore(deps): Update ruff requirement from <0.6 to <0.7 #22

Merged
merged 2 commits into from
Aug 19, 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
1 change: 1 addition & 0 deletions examples/mongodb_cdc_cratedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

import pymongo
import sqlalchemy as sa

from commons_codec.transform.mongodb import MongoDBCDCTranslatorCrateDB


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ optional-dependencies.develop = [
"mypy<1.12",
"poethepoet<0.28",
"pyproject-fmt<2.3",
"ruff<0.6",
"ruff<0.7",
"validate-pyproject<0.20",
]
optional-dependencies.doc = [
Expand Down
1 change: 1 addition & 0 deletions tests/decode/test_tasmota.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import logging

import pytest

from commons_codec.decode.tasmota import TasmotaSensorDecoder, TasmotaStateDecoder
from commons_codec.util.data import jd

Expand Down
1 change: 1 addition & 0 deletions tests/test_model.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pytest

from commons_codec.model import ColumnType, ColumnTypeMapStore, TableAddress


Expand Down
1 change: 1 addition & 0 deletions tests/transform/test_aws_dms.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import json

import pytest

from commons_codec.exception import MessageFormatError, UnknownOperationError
from commons_codec.model import ColumnType, ColumnTypeMapStore, TableAddress
from commons_codec.transform.aws_dms import DMSTranslatorCrateDB
Expand Down
1 change: 1 addition & 0 deletions tests/transform/test_dynamodb.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import decimal

import pytest

from commons_codec.transform.dynamodb import DynamoCDCTranslatorCrateDB

READING_BASIC = {"device": "foo", "temperature": 42.42, "humidity": 84.84}
Expand Down
1 change: 1 addition & 0 deletions tests/transform/test_dynamodb_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from decimal import Decimal

import pytest

from commons_codec.vendor.boto3.dynamodb.types import Binary, TypeDeserializer


Expand Down
1 change: 1 addition & 0 deletions tests/transform/test_mongodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
pytest.importorskip("pymongo")

from bson import ObjectId, Timestamp

from commons_codec.transform.mongodb import MongoDBCDCTranslatorCrateDB

MSG_OPERATION_UNKNOWN = {
Expand Down
1 change: 1 addition & 0 deletions tests/zyp/test_bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from pathlib import Path

import pytest

from zyp.model.base import SchemaDefinition
from zyp.model.bucket import (
BucketTransformation,
Expand Down
1 change: 1 addition & 0 deletions tests/zyp/test_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from pathlib import Path

import yaml

from zyp.model.bucket import BucketTransformation, FieldRenamer, ValueConverter
from zyp.model.collection import CollectionTransformation
from zyp.model.moksha import MokshaTransformation
Expand Down
1 change: 1 addition & 0 deletions tests/zyp/test_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import pytest
from dateutil.parser import ParserError

from zyp.function import to_datetime, to_unixtime

stddate = dt.datetime(2023, 6, 30)
Expand Down
1 change: 1 addition & 0 deletions tests/zyp/test_locator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import pytest
from jsonpointer import JsonPointer, JsonPointerException

from zyp.util.locator import swap_node


Expand Down
1 change: 1 addition & 0 deletions tests/zyp/test_moksha.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import pytest
from jmespath.exceptions import ParseError

from zyp.model.moksha import MokshaRule, MokshaTransformation


Expand Down
1 change: 1 addition & 0 deletions tests/zyp/test_project.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import sys

import pytest

from zyp.model.collection import CollectionAddress, CollectionTransformation
from zyp.model.project import TransformationProject

Expand Down
1 change: 1 addition & 0 deletions tests/zyp/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import jsonpointer
import pytest
import transon

from zyp.util.expression import compile_expression
from zyp.util.locator import to_pointer

Expand Down