Skip to content

Commit a04394f

Browse files
committed
style: use upper case imperative in docstring
influxdb_client/client/write/point.py:255 in public method `__eq__`: D400: First line should end with a period (not 'f') influxdb_client/client/write/point.py:255 in public method `__eq__`: D401: First line should be in imperative mood (perhaps 'Return', not 'returns') influxdb_client/client/write/point.py:255 in public method `__eq__`: D403: First word of the first line should be properly capitalized ('Returns', not 'returns')
1 parent ba2e567 commit a04394f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

influxdb_client/client/write/point.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def __str__(self):
252252
return self.to_line_protocol()
253253

254254
def __eq__(self, other):
255-
"""returns true iff other is equal to self"""
255+
"""Return true iff other is equal to self."""
256256
if not isinstance(other, Point):
257257
return False
258258
# assume points are equal iff their instance fields are equal

0 commit comments

Comments
 (0)