Skip to content

Commit

Permalink
fix cspell ignore per daniel's recommendation (Azure#22865)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapratico authored Feb 1, 2022
1 parent 82a5f73 commit f363c22
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,12 @@
"words": [
"Phong"
]
},
{
"filename": "sdk/translation/azure-ai-translation-document/tests/*.py",
"words": [
"essai"
]
}
],
"allowCompoundWords": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,6 @@ def test_translation_with_glossary(self, client):

with open(document, "rb") as fd:
translated = fd.readline()
# cSpell:ignore essai

assert b'essai' in translated # glossary worked
os.remove(document)
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,6 @@ async def test_translation_with_glossary(self, client):

with open(document, "rb") as fd:
translated = fd.readline()
# cSpell:ignore essai

assert b'essai' in translated # glossary worked
os.remove(document)

0 comments on commit f363c22

Please sign in to comment.