diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-12-04 03:57:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-12-04 03:57:49 +0000 |
commit | d6cacb1f6ae346ce54a5116d76a7d087bb6381a5 (patch) | |
tree | fdb6f1b1b847180a234439c3f39ce5d93da8e84e /pre_commit/util.py | |
parent | Adding upstream version 2.15.0. (diff) | |
download | pre-commit-d6cacb1f6ae346ce54a5116d76a7d087bb6381a5.tar.xz pre-commit-d6cacb1f6ae346ce54a5116d76a7d087bb6381a5.zip |
Adding upstream version 2.16.0.upstream/2.16.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pre_commit/util.py')
-rw-r--r-- | pre_commit/util.py | 4 |
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 |