Skip to content

Commit 606a8a3

Browse files
committed
copilots suggestions
1 parent cee95b3 commit 606a8a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

synapseclient/core/version_check.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
1212
"""
1313

14-
import importlib.resources
14+
import importlib
1515
import json
1616
import logging
1717
import re
@@ -49,8 +49,8 @@ def version_check(
4949
If False, only the major and minor package version will be compared (ie. 1.0)
5050
use_local_metadata:
5151
Defaults to False.
52-
If True, importlib.resources will be used to get the latest version fo the package
53-
If False, the latest version fo the package will be taken from Pypi
52+
If True, importlib.resources will be used to get the latest version of the package
53+
If False, the latest version of the package will be taken from Pypi
5454
logger: a logger for logging output
5555
5656
Returns:
@@ -140,7 +140,7 @@ def _version_check(
140140
If False, only the major and minor package version will be compared (ie. 1.0)
141141
use_local_metadata:
142142
Defaults to False.
143-
If True, importlib.resources will be used to get the latest version fo the package
143+
If True, importlib.resources will be used to get the latest version of the package
144144
logger: a logger for logging output
145145
146146
Returns:

0 commit comments

Comments
 (0)