Skip to content

Commit

Permalink
Bumped types-*
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Oct 25, 2024
1 parent 5c1f646 commit 91b0263
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Pythonwin/pywin/framework/bitmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def MatchDocType(self, fileName, fileType):
bitmapTemplate.SetDocStrings(
"\nBitmap\nBitmap\nBitmap (*.bmp)\n.bmp\nPythonBitmapFileType\nPython Bitmap File"
)
win32ui.GetApp().AddDocTemplate(bitmapTemplate) # type: ignore[arg-type] # https://github.com/python/typeshed/pull/12888
win32ui.GetApp().AddDocTemplate(bitmapTemplate)

# This works, but just didn't make it through the code reorg.
# class PPMBitmap(Bitmap):
Expand Down
2 changes: 1 addition & 1 deletion Pythonwin/pywin/framework/editor/color/coloreditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,4 +643,4 @@ def GetPythonPropertyPages(self):
pass

editorTemplate = SyntEditTemplate()
win32ui.GetApp().AddDocTemplate(editorTemplate) # type: ignore[arg-type] # https://github.com/python/typeshed/pull/12888
win32ui.GetApp().AddDocTemplate(editorTemplate)
2 changes: 1 addition & 1 deletion Pythonwin/pywin/framework/editor/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,4 +508,4 @@ def Create(fileName=None, title=None, template=None):
pass

editorTemplate = EditorTemplate()
win32ui.GetApp().AddDocTemplate(editorTemplate) # type: ignore[arg-type] # https://github.com/python/typeshed/pull/12888
win32ui.GetApp().AddDocTemplate(editorTemplate)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ def my_new_compiler(**kw):
ccompiler.new_compiler = my_new_compiler # type: ignore[assignment] # Assuming the caller will always use only kwargs


class my_compiler(MSVCCompiler): # type: ignore[misc] # Upcomming fix in https://github.com/python/typeshed/pull/12887
class my_compiler(MSVCCompiler):
# Just one GUIDS.CPP and it gives trouble on mainwin too. Maybe I
# should just rename the file, but a case-only rename is likely to be
# worse! This can probably go away once we kill the VS project files
Expand Down

0 comments on commit 91b0263

Please sign in to comment.