Skip to content

Commit f0b0469

Browse files
committed
Run internal Python formatter
1 parent bc345e8 commit f0b0469

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

tools/tensorflow_docs/tools/nblint/style/gemini_cookbook.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,12 @@ def button_r1_extra(args):
367367

368368

369369
@lint(
370-
message="Prefer second person instead of first person: https://developers.google.com/style/person",
371-
cond=Options.Cond.ALL)
370+
message=(
371+
"Prefer second person instead of first person:"
372+
" https://developers.google.com/style/person"
373+
),
374+
cond=Options.Cond.ALL,
375+
)
372376
def second_person(args):
373377
"""Test for first person usage in doc and recommend second person."""
374378
found_words = search_wordlist(_SECOND_PERSON_WORDLIST, args["cell_source"])
@@ -392,8 +396,12 @@ def second_person(args):
392396

393397

394398
@lint(
395-
message="Use inclusive language: https://developers.google.com/style/inclusive-documentation",
396-
cond=Options.Cond.ALL)
399+
message=(
400+
"Use inclusive language:"
401+
" https://developers.google.com/style/inclusive-documentation"
402+
),
403+
cond=Options.Cond.ALL,
404+
)
397405
def inclusive_language(args):
398406
"""Test for words found in inclusive wordlist and recommend alternatives."""
399407
found_words = search_wordlist(_INCLUSIVE_WORDLIST, args["cell_source"])

0 commit comments

Comments
 (0)