Skip to content

Commit 6996aa6

Browse files
ankita240796adammichaelwood
authored andcommittedMar 6, 2018
Fixes style testing issues (#547)
* fix spelling issue * avoid label test on doc title
1 parent 92278a9 commit 6996aa6

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed
 

‎src/docs-style-guide.rst

+4
Original file line numberDiff line numberDiff line change
@@ -661,8 +661,12 @@ In these cases, you may want to use the :rst:dir:`rubric` directive.
661661
662662
errors = []
663663
sym_list = ['===','---','~~~','"""','\'\'\'']
664+
cnt_label = 0
664665
665666
for matchobj in re.finditer(regex, text):
667+
cnt_label += 1
668+
if cnt_label == 1:
669+
continue
666670
label = matchobj.group(1)
667671
start = matchobj.start()+1
668672
end = matchobj.end()

‎src/spelling_wordlist.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ dropdown
4545
dropdowns
4646
Enketo
4747
enketo
48+
esthete
49+
esthetes
50+
esthetic
51+
esthetically
52+
esthetics
4853
ethiopian
4954
formID
5055
formId
@@ -221,4 +226,4 @@ XLSForm
221226
xml
222227
xmlns
223228
XPath
224-
zeroes
229+
zeroes

‎style-guide/proselint-extra.py

-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ def check_ukus(text):
2828
["aerograms", ["aerogrammes"]],
2929
["airplane", ["aeroplane"]],
3030
["airplanes ", ["aeroplanes "]],
31-
["esthete", ["aesthete"]],
32-
["esthetes", ["aesthetes"]],
33-
["esthetic", ["aesthetic"]],
34-
["esthetically", ["aesthetically"]],
35-
["esthetics", ["aesthetics"]],
3631
["etiology", ["aetiology"]],
3732
["aging", ["ageing"]],
3833
["aggrandizement", ["aggrandisement"]],

0 commit comments

Comments
 (0)
Please sign in to comment.