Skip to content

Commit

Permalink
Black format
Browse files Browse the repository at this point in the history
  • Loading branch information
dgilman committed Feb 20, 2021
1 parent 0b63e2f commit 3c77dee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@

# -- Path setup --------------------------------------------------------------

import datetime

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys
import datetime

sys.path.insert(0, os.path.abspath(".."))

Expand Down
21 changes: 6 additions & 15 deletions gspread_asyncio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,10 +966,7 @@ async def clear_note(self, cell: str):
.. versionadded:: 1.4
"""

return await self.agcm._call(
self.ws.clear_note,
cell
)
return await self.agcm._call(self.ws.clear_note, cell)

@property
def col_count(self) -> int:
Expand Down Expand Up @@ -1164,7 +1161,9 @@ def id(self):
return self.ws.id

@_nowait
async def insert_cols(self, values: List[List], col: int = 1, value_input_option: str = "RAW"):
async def insert_cols(
self, values: List[List], col: int = 1, value_input_option: str = "RAW"
):
"""Adds multiple new cols to the worksheet at specified index and
populates them with values. Wraps
:meth:`gspread.models.Worksheet.insert_cols`.
Expand Down Expand Up @@ -1219,11 +1218,7 @@ async def insert_note(self, cell: str, content: str) -> None:
.. versionadded:: 1.4
"""
return await self.agcm._call(
self.ws.insert_note,
cell,
content
)
return await self.agcm._call(self.ws.insert_note, cell, content)

@_nowait
async def insert_row(
Expand Down Expand Up @@ -1410,11 +1405,7 @@ async def update_note(self, cell: str, content: str) -> None:
.. versionadded:: 1.4
"""
return await self.agcp._call(
self.ws.update_note,
cell,
content
)
return await self.agcp._call(self.ws.update_note, cell, content)

async def batch_get(
self,
Expand Down

0 comments on commit 3c77dee

Please sign in to comment.