Skip to content

Commit bf50992

Browse files
committed
fix(github): typechecks;
- Add type ignore to fix type checking.
1 parent d582eee commit bf50992

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ckanext/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# this is a namespace package
22
try:
33
import pkg_resources
4-
pkg_resources.declare_namespace(__name__)
4+
# type_ignore_reason: reportAttributeAccessIssue
5+
pkg_resources.declare_namespace(__name__) # type: ignore
56
except ImportError:
67
import pkgutil
78
__path__ = pkgutil.extend_path(__path__, __name__)

0 commit comments

Comments
 (0)