Skip to content

Commit

Permalink
Disable name-defined in demos
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Dec 23, 2024
1 parent f24dbc7 commit 55b8b47
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ exclude = (?x)(
| ([Tt]est|Demos?)/
)

# A lot of demos will star-import constants from win32com,
# which can't be analyzed/followed unless using typeshed's types-pywin32
[mypy-win32comext.*.demo.*,win32comext.*.demos.*]
disable_error_code = name-defined

; C-modules that will need type-stubs
[mypy-adsi.*,dde,exchange,mapi,perfmon,servicemanager,win32api,win32console,win32clipboard,win32comext.adsi.adsi,win32event,win32evtlog,win32file,win32gui,win32help,win32pdh,win32process,win32ras,win32security,win32service,win32trace,win32ui,win32uiole,win32wnet,_win32sysloader,_winxptheme]
ignore_missing_imports = True
Expand Down

0 comments on commit 55b8b47

Please sign in to comment.