File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
tools/tensorflow_docs/tools/nblint/style Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff 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+ )
372376def 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+ )
397405def inclusive_language (args ):
398406 """Test for words found in inclusive wordlist and recommend alternatives."""
399407 found_words = search_wordlist (_INCLUSIVE_WORDLIST , args ["cell_source" ])
You can’t perform that action at this time.
0 commit comments