Update ruff and run ruff format
This commit is contained in:
committed by
Arun Babu Neelicattu
parent
dbc612c7f3
commit
6a65ca94bc
@@ -2011,10 +2011,10 @@ class _Timestamp(Timestamp):
|
||||
return f"{result}Z"
|
||||
if (nanos % 1e6) == 0:
|
||||
# Serialize 3 fractional digits.
|
||||
return f"{result}.{int(nanos // 1e6) :03d}Z"
|
||||
return f"{result}.{int(nanos // 1e6):03d}Z"
|
||||
if (nanos % 1e3) == 0:
|
||||
# Serialize 6 fractional digits.
|
||||
return f"{result}.{int(nanos // 1e3) :06d}Z"
|
||||
return f"{result}.{int(nanos // 1e3):06d}Z"
|
||||
# Serialize 9 fractional digits.
|
||||
return f"{result}.{nanos:09d}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user