Skip to content

Commit ec7e03b

Browse files
committed
Replace function calls with set literals
1 parent 47fb1b1 commit ec7e03b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jose/constants.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ class Algorithms(object):
1313
ES384 = 'ES384'
1414
ES512 = 'ES512'
1515

16-
HMAC = set([HS256, HS384, HS512])
17-
RSA = set([RS256, RS384, RS512])
18-
EC = set([ES256, ES384, ES512])
16+
HMAC = {HS256, HS384, HS512}
17+
RSA = {RS256, RS384, RS512}
18+
EC = {ES256, ES384, ES512}
1919

2020
SUPPORTED = HMAC.union(RSA).union(EC)
2121

0 commit comments

Comments
 (0)