Skip to content

Commit

Permalink
Fixes style testing issues (#547)
Browse files Browse the repository at this point in the history
* fix spelling issue

* avoid label test on doc title
  • Loading branch information
ankita240796 authored and adammichaelwood committed Mar 6, 2018
1 parent 92278a9 commit 6996aa6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions src/docs-style-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,12 @@ In these cases, you may want to use the :rst:dir:`rubric` directive.
errors = []
sym_list = ['===','---','~~~','"""','\'\'\'']
cnt_label = 0
for matchobj in re.finditer(regex, text):
cnt_label += 1
if cnt_label == 1:
continue
label = matchobj.group(1)
start = matchobj.start()+1
end = matchobj.end()
Expand Down
7 changes: 6 additions & 1 deletion src/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ dropdown
dropdowns
Enketo
enketo
esthete
esthetes
esthetic
esthetically
esthetics
ethiopian
formID
formId
Expand Down Expand Up @@ -221,4 +226,4 @@ XLSForm
xml
xmlns
XPath
zeroes
zeroes
5 changes: 0 additions & 5 deletions style-guide/proselint-extra.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ def check_ukus(text):
["aerograms", ["aerogrammes"]],
["airplane", ["aeroplane"]],
["airplanes ", ["aeroplanes "]],
["esthete", ["aesthete"]],
["esthetes", ["aesthetes"]],
["esthetic", ["aesthetic"]],
["esthetically", ["aesthetically"]],
["esthetics", ["aesthetics"]],
["etiology", ["aetiology"]],
["aging", ["ageing"]],
["aggrandizement", ["aggrandisement"]],
Expand Down

0 comments on commit 6996aa6

Please sign in to comment.