Skip to content

Commit b47a5da

Browse files
committed
Review fixes
1 parent 6f200cd commit b47a5da

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ pre-filled values:
284284
# This modules functions and constants are available:
285285
286286
# * DAY = 86400
287-
# * HOSTNAME = 'NB-J2X12GGXQF'
287+
# * HOSTNAME = 'localhost'
288288
# * HOUR = 3600
289289
# * YEAR = 31536000
290290
# * datetime = <class 'datetime.datetime'>

jwt_rsa/token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class JWT:
2828
"__algorithms",
2929
)
3030

31-
DEFAULT_EXPIRATION = 31 * DAY # one month
31+
DEFAULT_EXPIRATION = timedelta(days=31).total_seconds()
3232
NBF_DELTA = 20
3333
ALGORITHMS = tuple(AlgorithmType.__args__)
3434

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ classifiers = [
1212
"Operating System :: POSIX",
1313
"Programming Language :: Python",
1414
"Programming Language :: Python :: 3",
15-
"Programming Language :: Python :: 3.5",
16-
"Programming Language :: Python :: 3.6",
17-
"Programming Language :: Python :: 3.7",
18-
"Programming Language :: Python :: 3.8",
19-
"Programming Language :: Python :: 3.9",
15+
"Programming Language :: Python :: 3.10",
16+
"Programming Language :: Python :: 3.11",
17+
"Programming Language :: Python :: 3.12",
18+
"Programming Language :: Python :: 3.13",
2019
"Programming Language :: Python :: Implementation :: CPython",
2120
"Topic :: Security",
2221
"Typing :: Typed",

0 commit comments

Comments
 (0)