Skip to content

Commit 2d4e5da

Browse files
committed
chore: run formatter
1 parent 80f5696 commit 2d4e5da

File tree

5 files changed

+14
-19
lines changed

5 files changed

+14
-19
lines changed

docs/theme/devsite_translator/html.py

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@
1515

1616
from sphinx.writers import html
1717

18-
19-
_DESCTYPE_NAMES = {'class': 'Classes',
20-
'data': 'Constants',
21-
'function': 'Functions',
22-
'method': 'Methods',
23-
'attribute': 'Attributes',
24-
'exception': 'Exceptions'}
18+
_DESCTYPE_NAMES = {
19+
'class': 'Classes',
20+
'data': 'Constants',
21+
'function': 'Functions',
22+
'method': 'Methods',
23+
'attribute': 'Attributes',
24+
'exception': 'Exceptions'
25+
}
2526

2627
# Use the default translator for these node types
2728
_RENDER_WITH_DEFAULT = ['method', 'staticmethod', 'attribute']
@@ -48,12 +49,14 @@ def visit_desc(self, node):
4849
if node.parent.tagname == 'section':
4950
self.insert_header = True
5051
if node['desctype'] != self.current_section:
51-
self.body.append(f"<h2>{_DESCTYPE_NAMES[node['desctype']]}</h2>")
52+
self.body.append(
53+
f"<h2>{_DESCTYPE_NAMES[node['desctype']]}</h2>")
5254
self.current_section = node['desctype']
5355
if node['desctype'] in _RENDER_WITH_DEFAULT:
5456
html.HTMLTranslator.visit_desc(self, node)
5557
else:
56-
self.body.append(self.starttag(node, 'table', CLASS=node['objtype']))
58+
self.body.append(self.starttag(node, 'table',
59+
CLASS=node['objtype']))
5760

5861
def depart_desc(self, node):
5962
if node['desctype'] in _RENDER_WITH_DEFAULT:
@@ -68,7 +71,8 @@ def visit_desc_signature(self, node):
6871
self.body.append('<tr>')
6972
self.body.append(self.starttag(node, 'th'))
7073
if self.insert_header:
71-
self.body.append(f"<h3 class=\"sphinx-hidden\">{node['fullname']}</h3>")
74+
self.body.append(
75+
f"<h3 class=\"sphinx-hidden\">{node['fullname']}</h3>")
7276
self.insert_header = False
7377

7478
def depart_desc_signature(self, node):

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
15-
1614
"""
1715
Setup for Firebase Functions Python.
1816
"""

src/firebase_functions/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
15-
1614
"""
1715
Firebase Functions for Python.
1816
"""

src/firebase_functions/core.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
15-
1614
"""
1715
Public code that is shared across modules.
1816
"""
@@ -64,4 +62,3 @@ class CloudEvent(_typing.Generic[T]):
6462
"""
6563
The resource, provided by source, that this event relates to
6664
"""
67-

src/firebase_functions/private/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
15-
1614
"""
1715
Firebase Functions for Python - Private/Internals
1816
"""

0 commit comments

Comments
 (0)