Skip to content

Commit

Permalink
fix linting, still some pending ignored errors
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Jan 12, 2024
1 parent 4ddbdcd commit 457e0ba
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dbt_common/clients/agate_helper.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from codecs import BOM_UTF8

import agate
import agate # type: ignore
import datetime
import isodate
import json
Expand Down
2 changes: 1 addition & 1 deletion dbt_common/events/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def msg_to_dict(msg: EventMsg) -> dict:
msg_dict = dict()
try:
msg_dict = MessageToDict(
msg,
msg.data,
preserving_proto_field_name=True,
including_default_value_fields=True, # type: ignore
)
Expand Down
2 changes: 1 addition & 1 deletion dbt_common/utils/encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

DECIMALS: Tuple[Type[Any], ...]
try:
import cdecimal # typing: ignore
import cdecimal # type: ignore
except ImportError:
DECIMALS = (decimal.Decimal,)
else:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ dependencies = [
"pytest~=7.3",
"types-Jinja2~=2.11",
"types-jsonschema~=4.17",
"types-protobuf~=4.24.0",
"types-python-dateutil~=2.8",
"types-PyYAML~=6.0",
"types-requests<2.31.0" # types-requests 2.31.0.8 requires urllib3>=2, but we pin urllib3 ~= 1.0 because of openssl requirement for requests
Expand Down
Empty file.

0 comments on commit 457e0ba

Please sign in to comment.