summaryrefslogtreecommitdiffstats
path: root/pre_commit/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'pre_commit/util.py')
-rw-r--r--pre_commit/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pre_commit/util.py b/pre_commit/util.py
index 6bf8ae7..6977acb 100644
--- a/pre_commit/util.py
+++ b/pre_commit/util.py
@@ -21,10 +21,10 @@ import yaml
from pre_commit import parse_shebang
-if sys.version_info >= (3, 7): # pragma: no cover (PY37+)
+if sys.version_info >= (3, 7): # pragma: >=3.7 cover
from importlib.resources import open_binary
from importlib.resources import read_text
-else: # pragma: no cover (<PY37)
+else: # pragma: <3.7 cover
from importlib_resources import open_binary
from importlib_resources import read_text