Skip to content

Commit 029af46

Browse files
committed
Add pyrightconfig
1 parent d396f8f commit 029af46

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

ipyshiny/_ipyshiny.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
from uuid import uuid4
1111
from weakref import WeakSet
1212

13-
from ipywidgets.widgets.widget import Widget, _remove_buffers
13+
from ipywidgets.widgets.widget import (
14+
Widget,
15+
_remove_buffers,
16+
) # pyright: reportMissingTypeStubs=false, reportUnknownVariableType=false
1417
from ipywidgets._version import __protocol_version__
1518

1619
from htmltools import tags, Tag, TagList, css

pyrightconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"ignore": ["examples", "sandbox", "build", "dist", "typings"],
3+
"typeCheckingMode": "strict",
4+
"reportImportCycles": "none",
5+
"reportUnusedFunction": "none",
6+
"reportPrivateUsage": "none",
7+
"reportUnnecessaryIsInstance": "none",
8+
}

0 commit comments

Comments
 (0)