Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
style fixes by ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
teraamp authored and github-actions[bot] committed Jan 14, 2024
1 parent c36fc09 commit a1b9ac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data_diff/databases/postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
FractionalType,
Boolean,
Date,
Time
Time,
)
from data_diff.databases.base import BaseDialect, ThreadedDatabase, import_helper, ConnectError
from data_diff.databases.base import (
Expand Down Expand Up @@ -114,7 +114,7 @@ def normalize_timestamp(self, value: str, coltype: TemporalType) -> str:
def _add_padding(coltype: TemporalType, timestamp6: str):
return f"RPAD(LEFT({timestamp6}, {TIMESTAMP_PRECISION_POS+coltype.precision}), {TIMESTAMP_PRECISION_POS+6}, '0')"

if True: #try:
if True: # try:
is_date = coltype.is_date
is_time = coltype.is_time
else:
Expand Down

0 comments on commit a1b9ac5

Please sign in to comment.