Skip to content

Commit 006f77d

Browse files
committed
fix pre-commit
1 parent dee9e43 commit 006f77d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datashader/_dependencies.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(self, module_name, package_name=None, *, bool_use_sys_modules=False
6363
bool_use_sys_modules: bool, optional, default False
6464
Also check `sys.modules` for module in __bool__ check if True.
6565
This means that bool can only be True if the module is already imported.
66-
"""
66+
""" # noqa: E501
6767
self.__module = None
6868
self.__module_name = module_name
6969
self.__package_name = package_name or module_name
@@ -81,7 +81,7 @@ def _module(self):
8181
if mod_version < min_version:
8282
min_version_str = ".".join(map(str, min_version))
8383
mod_version_str = ".".join(map(str, mod_version))
84-
msg = f"{self.__package_name} requires {min_version_str} or higher (found {mod_version_str})"
84+
msg = f"{self.__package_name} requires {min_version_str} or higher (found {mod_version_str})" # noqa: E501
8585
raise VersionError(msg, mod_version_str, min_version_str)
8686

8787
if self in _module_hooks:

0 commit comments

Comments
 (0)