Skip to content

Commit 2175878

Browse files
committed
Fix a few spelling mistakes
1 parent 5835ec9 commit 2175878

File tree

4 files changed

+57
-3
lines changed

4 files changed

+57
-3
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
# The format is a list of tuples containing the path and title.
311311
#epub_pre_files = []
312312

313-
# HTML files shat should be inserted after the pages created by sphinx.
313+
# HTML files that should be inserted after the pages created by sphinx.
314314
# The format is a list of tuples containing the path and title.
315315
#epub_post_files = []
316316

jose.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ class _JWA(object):
644644

645645
def __getitem__(self, key):
646646
""" Derive implementation(s) from key
647-
If key is compond <encryption>(-|+)<hash> then it will return a tuple
647+
If key is compound <encryption>(-|+)<hash> then it will return a tuple
648648
of implementations.
649649
Each implementation is a tuple in following format:
650650
- for hash algorithms ((<sign function>, <verify function>), <mod>)

spell.txt

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
Misspelled words:
2+
<text> /home/tgates/data/jose/tests.py(172): TestJWE.test_jwe_adata()
3+
--------------------------------------------------------------------------------
4+
adata
5+
signaures
6+
--------------------------------------------------------------------------------
7+
8+
Misspelled words:
9+
<text> /home/tgates/data/jose/docs/source/conf.py(313)
10+
--------------------------------------------------------------------------------
11+
shat
12+
--------------------------------------------------------------------------------
13+
14+
Misspelled words:
15+
<text> /home/tgates/data/jose/docs/source/conf.py(320)
16+
--------------------------------------------------------------------------------
17+
tocdepth
18+
--------------------------------------------------------------------------------
19+
20+
Misspelled words:
21+
<text> /home/tgates/data/jose/jose.py(184):
22+
--------------------------------------------------------------------------------
23+
adata
24+
--------------------------------------------------------------------------------
25+
26+
Misspelled words:
27+
<text> /home/tgates/data/jose/jose.py(317):
28+
--------------------------------------------------------------------------------
29+
adata
30+
--------------------------------------------------------------------------------
31+
32+
Misspelled words:
33+
<text> /home/tgates/data/jose/jose.py(646): _JWA.__getitem__()
34+
--------------------------------------------------------------------------------
35+
compond
36+
--------------------------------------------------------------------------------
37+
38+
!!!Spelling check failed!!!
39+
adata
40+
compond
41+
shat
42+
signaures
43+
tocdepth
44+
45+
If the spelling checker reports a spelling mistake which is actually a
46+
deliberate choice an exemption can be made in a few ways:
47+
48+
* Words containing uppercase characters are assumed to be proper nouns and
49+
ignored.
50+
* Escaping can be achieved through the use of back ticks ` around the word.
51+
* Adding to a custom wordlist wordlist.txt or spelling_wordlist.txt found in any
52+
sub-directory.
53+
* Adding to the global wordlist https://github.com/resplendent-dev/unanimous
54+

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def test_jwe_adata(self):
169169
jwt = jose.legacy_decrypt(jose.deserialize_compact(et), rsa_priv_key,
170170
adata=adata)
171171

172-
# make sure signaures don't match when adata isn't passed in
172+
# make sure signatures don't match when adata isn't passed in
173173
try:
174174
hdr, dt = jose.legacy_decrypt(jose.deserialize_compact(et),
175175
rsa_priv_key)

0 commit comments

Comments
 (0)