We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1f7113 commit b6f1c45Copy full SHA for b6f1c45
.github/workflows/pyright.yml
@@ -41,5 +41,6 @@ jobs:
41
- name: Check types
42
if: steps.pydepends.outcome == 'success'
43
run: |
44
+ source /home/runner/work/app/bin/activate
45
cd /home/runner/work/app/src/ckanext-language-domains
46
npx pyright
ckanext/__init__.py
@@ -3,8 +3,7 @@
3
# this is a namespace package
4
try:
5
import pkg_resources
6
- # type_ignore_reason: reportAttributeAccessIssue
7
- pkg_resources.declare_namespace(__name__) # type: ignore
+ pkg_resources.declare_namespace(__name__)
8
except ImportError:
9
import pkgutil
10
__path__ = pkgutil.extend_path(__path__, __name__)
0 commit comments