Skip to content

Add config key to extend config files #19135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hasier
Copy link

@hasier hasier commented May 23, 2025

Fixes #9620

First and foremost, thanks to everyone that's working on maintaining and extending this project! 🙇 This is my first contribution here, hopefully a useful one.

I have been working in a monorepo project for a while and we have been trying to consolidate some of our configurations. I was coming from doing this with ruff, but I couldn't find a way for mypy to combine config files, when I found this comment. Seeing there was already an open discussion for it and a pointer in that direction, I thought I'd give it a go at updating the mypy behaviour.

I understand this might require a broader discussion regarding how this config extension/merge should happen, so I know this PR might not be the preferred option. Happy to contribute to the discussion however I can, but I thought it might be good to re-open the discussion with a (potential) solution in this PR.

(I might need a bit of help, not too sure why testEnvvar_MYPY_CONFIG_FILE_DIR and mypy_primer are failing 🙏 )


if "mypy" not in parser:
if filename or os.path.basename(file_read) not in defaults.SHARED_CONFIG_NAMES:
print(f"{file_read}: No [mypy] section in config file", file=stderr)
else:
section = parser["mypy"]

extend = parser["mypy"].pop("extend", None)
Copy link
Author

@hasier hasier May 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[info] I thought about adding extend to the toml/ini templates above, but I was not sure of the way they might be used elsewhere, so it felt like doing something ad-hoc would be more suitable here. Happy to change it if there's another preferred way.

This comment has been minimized.

Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

pywin32 (https://github.com/mhammond/pywin32)
+ Warning: unused section(s) in mypy.ini: [mypy-win32comext.adsi.adsi]
+ AutoDuck/InsertExternalOverviews.py:42:1: error: Cannot find implementation or library stub for module named "document_object"  [import-not-found]
+ Pythonwin/pywin/debugger/fail.py:11:1: error: Cannot find implementation or library stub for module named "pywin.debugger"  [import-not-found]
+ Pythonwin/pywin/debugger/fail.py:11:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ AutoDuck/Dump2HHC.py:78:1: error: Cannot find implementation or library stub for module named "document_object"  [import-not-found]
+ win32/Lib/win32verstamp.py:8:1: error: Cannot find implementation or library stub for module named "_win32verstamp_pywin32ctypes"  [import-not-found]
+ win32/Lib/afxres.py:3:1: error: Cannot find implementation or library stub for module named "pywin.mfc.afxres"  [import-not-found]
+ Pythonwin/pywin/tools/regpy.py:4:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/framework/window.py:5:1: error: Cannot find implementation or library stub for module named "pywin.mfc.window"  [import-not-found]
+ Pythonwin/pywin/framework/window.py:5:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/framework/window.py:5:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ com/win32com/server/exception.py:22: error: Unused "type: ignore" comment  [unused-ignore]
+ AutoDuck/BuildHHP.py:79:1: error: Cannot find implementation or library stub for module named "document_object"  [import-not-found]
+ AutoDuck/BuildHHP.py:79:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ win32/scripts/regsetup.py:555:1: error: Cannot find implementation or library stub for module named "regcheck"  [import-not-found]
+ win32/scripts/killProcName.py:18:1: error: Cannot find implementation or library stub for module named "win32pdhutil"  [import-not-found]
+ win32/scripts/ControlService.py:33:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ win32/scripts/VersionStamp/BrandProject.py:10:1: error: Cannot find implementation or library stub for module named "bulkstamp"  [import-not-found]
+ win32/scripts/VersionStamp/BrandProject.py:11:1: error: Cannot find implementation or library stub for module named "vssutil"  [import-not-found]
- com/win32comext/adsi/__init__.py:106:1: error: Name "ADsGetObject" already defined (possibly by an import)  [no-redef]
- com/win32comext/adsi/__init__.py:111:1: error: Name "ADsOpenObject" already defined (possibly by an import)  [no-redef]
+ com/win32comext/axdebug/util.py:57:1: error: Cannot find implementation or library stub for module named "win32traceutil"  [import-not-found]
+ com/win32comext/adsi/__init__.py:28:1: error: Cannot find implementation or library stub for module named "com.win32comext.adsi.adsi"  [import-not-found]
+ com/win32com/servers/perfmon.py:9:1: error: Cannot find implementation or library stub for module named "win32pdhutil"  [import-not-found]
+ com/win32com/servers/dictionary.py:45:5: error: Need type annotation for "_com_interfaces_" (hint: "_com_interfaces_: List[<type>] = ...")  [var-annotated]
+ com/win32com/server/dispatcher.py:221:1: error: Cannot find implementation or library stub for module named "win32traceutil"  [import-not-found]
+ com/win32com/client/tlbrowse.py:6:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ com/win32com/client/tlbrowse.py:38:24: error: Variable "com.win32com.client.tlbrowse.TypeBrowseDialog_Parent" is not valid as a type  [valid-type]
+ com/win32com/client/tlbrowse.py:38:24: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ com/win32com/client/selecttlb.py:166:1: error: Cannot find implementation or library stub for module named "pywin.dialogs.list"  [import-not-found]
+ com/win32com/client/selecttlb.py:166:1: error: Cannot find implementation or library stub for module named "pywin.dialogs"  [import-not-found]
+ com/win32com/client/selecttlb.py:166:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ com/win32com/client/combrowse.py:33:1: error: Cannot find implementation or library stub for module named "pywin.tools"  [import-not-found]
+ Pythonwin/pywin/tools/hierlist.py:21:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/tools/TraceCollector.py:7:1: error: Cannot find implementation or library stub for module named "pywin.framework"  [import-not-found]
+ Pythonwin/pywin/scintilla/formatter.py:22:1: error: Cannot find implementation or library stub for module named "win32traceutil"  [import-not-found]
+ Pythonwin/pywin/scintilla/find.py:7:1: error: Cannot find implementation or library stub for module named "pywin.framework"  [import-not-found]
+ Pythonwin/pywin/scintilla/find.py:8:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/scintilla/document.py:7:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ Pythonwin/pywin/scintilla/document.py:8:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/scintilla/document.py:22:26: error: Variable "Pythonwin.pywin.scintilla.document.ParentScintillaDocument" is not valid as a type  [valid-type]
+ Pythonwin/pywin/scintilla/document.py:22:26: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ Pythonwin/pywin/scintilla/IDLEenvironment.py:10:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ Pythonwin/pywin/scintilla/IDLEenvironment.py:11:1: error: Cannot find implementation or library stub for module named "pywin.mfc.dialog"  [import-not-found]
+ Pythonwin/pywin/scintilla/IDLEenvironment.py:523:1: error: Cannot find implementation or library stub for module named "pywin.framework.editor"  [import-not-found]
+ Pythonwin/pywin/scintilla/IDLEenvironment.py:523:1: error: Cannot find implementation or library stub for module named "pywin.framework"  [import-not-found]
+ Pythonwin/pywin/framework/toolmenu.py:148:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/framework/intpydde.py:19:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/framework/help.py:114:1: error: Cannot find implementation or library stub for module named "pywin.dialogs"  [import-not-found]
+ Pythonwin/pywin/framework/bitmap.py:7:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/framework/editor/document.py:10:1: error: Cannot find implementation or library stub for module named "pywin.framework.editor"  [import-not-found]
+ Pythonwin/pywin/framework/editor/document.py:21:1: error: Cannot find implementation or library stub for module named "pywin.scintilla.document"  [import-not-found]
+ Pythonwin/pywin/framework/editor/document.py:21:1: error: Cannot find implementation or library stub for module named "pywin.scintilla"  [import-not-found]
+ Pythonwin/pywin/framework/editor/document.py:21:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ Pythonwin/pywin/framework/editor/document.py:26:26: error: Variable "Pythonwin.pywin.framework.editor.document.ParentEditorDocument" is not valid as a type  [valid-type]
+ Pythonwin/pywin/framework/editor/document.py:26:26: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ Pythonwin/pywin/framework/editor/document.py:221:1: error: Cannot find implementation or library stub for module named "pywin.debugger"  [import-not-found]
+ Pythonwin/pywin/framework/editor/document.py:315:1: error: Cannot find implementation or library stub for module named "pywin.mfc.thread"  [import-not-found]
+ Pythonwin/pywin/framework/editor/document.py:315:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/framework/editor/ModuleBrowser.py:5:1: error: Cannot find implementation or library stub for module named "pywin.framework.scriptutils"  [import-not-found]
+ Pythonwin/pywin/framework/editor/ModuleBrowser.py:5:1: error: Cannot find implementation or library stub for module named "pywin.framework"  [import-not-found]
+ Pythonwin/pywin/framework/editor/ModuleBrowser.py:5:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ Pythonwin/pywin/framework/editor/ModuleBrowser.py:6:1: error: Cannot find implementation or library stub for module named "pywin.mfc.docview"  [import-not-found]
+ Pythonwin/pywin/framework/editor/ModuleBrowser.py:6:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/framework/editor/ModuleBrowser.py:11:1: error: Cannot find implementation or library stub for module named "pywin.tools"  [import-not-found]
+ Pythonwin/pywin/framework/editor/color/coloreditor.py:4:1: error: Cannot find implementation or library stub for module named "pywin.scintilla.keycodes"  [import-not-found]
+ Pythonwin/pywin/framework/editor/color/coloreditor.py:4:1: error: Cannot find implementation or library stub for module named "pywin.scintilla"  [import-not-found]
+ Pythonwin/pywin/framework/editor/color/coloreditor.py:4:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ Pythonwin/pywin/framework/editor/color/coloreditor.py:5:1: error: Cannot find implementation or library stub for module named "pywin.scintilla.view"  [import-not-found]
+ Pythonwin/pywin/framework/editor/color/coloreditor.py:9:1: error: Cannot find implementation or library stub for module named "pywin.debugger"  [import-not-found]
+ Pythonwin/pywin/framework/editor/color/coloreditor.py:10:1: error: Cannot find implementation or library stub for module named "pywin.framework.editor"  [import-not-found]
+ Pythonwin/pywin/framework/editor/color/coloreditor.py:11:1: error: Cannot find implementation or library stub for module named "pywin.framework.editor.document"  [import-not-found]
+ Pythonwin/pywin/framework/editor/color/coloreditor.py:12:1: error: Cannot find implementation or library stub for module named "pywin.framework.editor.frame"  [import-not-found]
+ Pythonwin/pywin/framework/editor/color/coloreditor.py:13:1: error: Cannot find implementation or library stub for module named "pywin.framework.editor.template"  [import-not-found]
+ Pythonwin/pywin/framework/editor/color/coloreditor.py:437:1: error: Cannot find implementation or library stub for module named "pywin.framework.interact"  [import-not-found]
+ Pythonwin/pywin/framework/editor/color/coloreditor.py:437:1: error: Cannot find implementation or library stub for module named "pywin.framework"  [import-not-found]
+ Pythonwin/pywin/framework/editor/__init__.py:103:1: error: Cannot find implementation or library stub for module named "pywin.framework.editor.color.coloreditor"  [import-not-found]
+ Pythonwin/pywin/docking/DockingBar.py:14:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/dialogs/status.py:9:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/dialogs/status.py:10:1: error: Cannot find implementation or library stub for module named "pywin.mfc.thread"  [import-not-found]
+ Pythonwin/pywin/dialogs/login.py:28:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/dialogs/list.py:5:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/dialogs/ideoptions.py:5:1: error: Cannot find implementation or library stub for module named "pywin.framework"  [import-not-found]
+ Pythonwin/pywin/dialogs/ideoptions.py:6:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/debugger/dbgpyapp.py:7:1: error: Cannot find implementation or library stub for module named "pywin.framework"  [import-not-found]
+ win32/scripts/VersionStamp/vssutil.py:179:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ isapi/samples/test.py:13:1: error: Cannot find implementation or library stub for module named "win32traceutil"  [import-not-found]
+ isapi/samples/advanced.py:24:1: error: Cannot find implementation or library stub for module named "win32traceutil"  [import-not-found]
+ com/win32com/servers/test_pycomtest.py:170:9: error: List item 1 has incompatible type "PyIID"; expected "str"  [list-item]
+ com/win32com/client/makepy.py:156:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ com/win32com/client/makepy.py:170:1: error: Cannot find implementation or library stub for module named "pywin.dialogs"  [import-not-found]
+ Pythonwin/pywin/tools/regedit.py:8:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/tools/browser.py:13:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/tools/browseProjects.py:6:1: error: Cannot find implementation or library stub for module named "pywin.framework.scriptutils"  [import-not-found]
+ Pythonwin/pywin/tools/browseProjects.py:6:1: error: Cannot find implementation or library stub for module named "pywin.framework"  [import-not-found]
+ Pythonwin/pywin/tools/browseProjects.py:6:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ Pythonwin/pywin/tools/browseProjects.py:11:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/tools/browseProjects.py:306:1: error: Cannot find implementation or library stub for module named "pywin.docking.DockingBar"  [import-not-found]
+ Pythonwin/pywin/tools/browseProjects.py:306:1: error: Cannot find implementation or library stub for module named "pywin.docking"  [import-not-found]
+ Pythonwin/pywin/scintilla/control.py:14:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ Pythonwin/pywin/scintilla/control.py:15:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/scintilla/config.py:20:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ Pythonwin/pywin/scintilla/config.py:27:1: error: Cannot find implementation or library stub for module named "win32traceutil"  [import-not-found]
+ Pythonwin/pywin/framework/startup.py:43:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ Pythonwin/pywin/framework/startup.py:44:1: error: Cannot find implementation or library stub for module named "pywin.framework"  [import-not-found]
+ Pythonwin/pywin/framework/scriptutils.py:15:1: error: Cannot find implementation or library stub for module named "pywin.mfc"  [import-not-found]
+ Pythonwin/pywin/framework/scriptutils.py:16:1: error: Cannot find implementation or library stub for module named "pywin.mfc.docview"  [import-not-found]
+ Pythonwin/pywin/framework/scriptutils.py:81:1: error: Cannot find implementation or library stub for module named "pywin.debugger"  [import-not-found]
+ Pythonwin/pywin/framework/scriptutils.py:81:1: error: Cannot find implementation or library stub for module named "pywin"  [import-not-found]
+ Pythonwin/pywin/framework/scriptutils.py:339:1: error: Cannot find implementation or library stub for module named "pywin.framework"  [import-not-found]
+ Pythonwin/pywin/framework/editor/frame.py:2:1: error: Cannot find implementation or library stub for module named "pywin.framework.window"  [import-not-found]

... (truncated 83 lines) ...

artigraph (https://github.com/artigraph/artigraph)
+ tests/arti/test_version.py:1: error: Cannot find implementation or library stub for module named "arti"  [import-not-found]
+ tests/arti/test_thresholds.py:1: error: Cannot find implementation or library stub for module named "arti"  [import-not-found]
+ tests/arti/dummies.py:6: error: Cannot find implementation or library stub for module named "arti"  [import-not-found]
+ tests/arti/dummies.py:24: error: Cannot find implementation or library stub for module named "arti.formats.json"  [import-not-found]
+ tests/arti/dummies.py:25: error: Cannot find implementation or library stub for module named "arti.types"  [import-not-found]
+ tests/arti/dummies.py:26: error: Cannot find implementation or library stub for module named "arti.types.python"  [import-not-found]
+ tests/arti/dummies.py:29: error: Class cannot subclass "Artifact" (has type "Any")  [misc]
+ tests/arti/dummies.py:35: error: Untyped decorator makes function "div" untyped  [misc]
+ tests/arti/dummies.py:43: error: Class cannot subclass "Annotation" (has type "Any")  [misc]
+ tests/arti/dummies.py:47: error: Class cannot subclass "Format" (has type "Any")  [misc]
+ tests/arti/dummies.py:51: error: Class cannot subclass "StoragePartition" (has type "Any")  [misc]
+ tests/arti/dummies.py:58: error: Class cannot subclass value of type "Any"  [misc]
+ tests/arti/dummies.py:71: error: Untyped decorator makes function "dummy_reader" untyped  [misc]
+ tests/arti/dummies.py:81: error: Untyped decorator makes function "dummy_writer" untyped  [misc]
+ tests/arti/dummies.py:92: error: Class cannot subclass "Statistic" (has type "Any")  [misc]
+ tests/arti/dummies.py:98: error: Class cannot subclass "Artifact" (has type "Any")  [misc]
+ tests/arti/dummies.py:104: error: Class cannot subclass "Artifact" (has type "Any")  [misc]
+ tests/arti/dummies.py:110: error: Class cannot subclass "Artifact" (has type "Any")  [misc]
+ tests/arti/dummies.py:116: error: Class cannot subclass "Artifact" (has type "Any")  [misc]
+ tests/arti/dummies.py:122: error: Class cannot subclass "Producer" (has type "Any")  [misc]
+ tests/arti/dummies.py:130: error: Class cannot subclass "Producer" (has type "Any")  [misc]
+ tests/arti/dummies.py:138: error: Class cannot subclass "Producer" (has type "Any")  [misc]
+ src/arti/types/bigquery.py:10: error: Cannot find implementation or library stub for module named "arti"  [import-not-found]
+ src/arti/types/bigquery.py:48: error: Class cannot subclass "TypeAdapter" (has type "Any")  [misc]
+ src/arti/types/bigquery.py:65: error: Returning Any from function declared to return "type[Any]"  [no-any-return]
+ src/arti/types/bigquery.py:158: error: Class cannot subclass "TypeAdapter" (has type "Any")  [misc]
+ src/arti/types/bigquery.py:209: error: Class cannot subclass "TypeAdapter" (has type "Any")  [misc]
+ src/arti/thresholds/__init__.py:7: error: Cannot find implementation or library stub for module named "arti.internal.models"  [import-not-found]
+ src/arti/thresholds/__init__.py:8: error: Cannot find implementation or library stub for module named "arti.types"  [import-not-found]
+ src/arti/thresholds/__init__.py:11: error: Class cannot subclass "Model" (has type "Any")  [misc]
+ src/arti/storage/literal.py:3: error: Cannot find implementation or library stub for module named "arti"  [import-not-found]
+ src/arti/storage/literal.py:15: error: Class cannot subclass "StoragePartition" (has type "Any")  [misc]
+ src/arti/storage/literal.py:25: error: Class cannot subclass value of type "Any"  [misc]
+ src/arti/storage/_internal.py:9: error: Cannot find implementation or library stub for module named "parse"  [import-not-found]
+ src/arti/storage/_internal.py:11: error: Cannot find implementation or library stub for module named "arti.fingerprints"  [import-not-found]
+ src/arti/storage/_internal.py:12: error: Cannot find implementation or library stub for module named "arti.partitions"  [import-not-found]
+ src/arti/storage/google/cloud/storage.py:7: error: Cannot find implementation or library stub for module named "arti"  [import-not-found]
+ src/arti/storage/google/cloud/storage.py:14: error: Cannot find implementation or library stub for module named "arti.internal.models"  [import-not-found]
+ src/arti/storage/google/cloud/storage.py:15: error: Cannot find implementation or library stub for module named "arti.storage._internal"  [import-not-found]
+ src/arti/storage/google/cloud/storage.py:18: error: Class cannot subclass "Model" (has type "Any")  [misc]
+ src/arti/storage/google/cloud/storage.py:27: error: Class cannot subclass "StoragePartition" (has type "Any")  [misc]
+ src/arti/storage/google/cloud/storage.py:35: error: Class cannot subclass value of type "Any"  [misc]
+ src/arti/statistics/__init__.py:5: error: Cannot find implementation or library stub for module named "arti.internal.models"  [import-not-found]
+ src/arti/statistics/__init__.py:8: error: Class cannot subclass "Model" (has type "Any")  [misc]
+ src/arti/io/pickle_localfile_python.py:9: error: Cannot find implementation or library stub for module named "arti.formats.pickle"  [import-not-found]
+ src/arti/io/pickle_localfile_python.py:10: error: Cannot find implementation or library stub for module named "arti.io"  [import-not-found]
+ src/arti/io/pickle_localfile_python.py:11: error: Cannot find implementation or library stub for module named "arti.storage.local"  [import-not-found]
+ src/arti/io/pickle_localfile_python.py:12: error: Cannot find implementation or library stub for module named "arti.types"  [import-not-found]
+ src/arti/io/pickle_localfile_python.py:13: error: Cannot find implementation or library stub for module named "arti.views.python"  [import-not-found]
+ src/arti/io/pickle_localfile_python.py:21: error: Untyped decorator makes function "_read_pickle_localfile_python" untyped  [misc]
+ src/arti/io/pickle_localfile_python.py:39: error: Untyped decorator makes function "_write_pickle_localfile_python" untyped  [misc]
+ src/arti/io/pickle_gcsfile_python.py:10: error: Cannot find implementation or library stub for module named "arti.formats.pickle"  [import-not-found]
+ src/arti/io/pickle_gcsfile_python.py:11: error: Cannot find implementation or library stub for module named "arti.io"  [import-not-found]
+ src/arti/io/pickle_gcsfile_python.py:12: error: Cannot find implementation or library stub for module named "arti.storage.google.cloud.storage"  [import-not-found]
+ src/arti/io/pickle_gcsfile_python.py:13: error: Cannot find implementation or library stub for module named "arti.types"  [import-not-found]
+ src/arti/io/pickle_gcsfile_python.py:14: error: Cannot find implementation or library stub for module named "arti.views.python"  [import-not-found]
+ src/arti/io/pickle_gcsfile_python.py:26: error: Untyped decorator makes function "_read_pickle_gcsfile_python" untyped  [misc]
+ src/arti/io/pickle_gcsfile_python.py:44: error: Untyped decorator makes function "_write_pickle_gcsfile_python" untyped  [misc]
+ src/arti/io/__init__.py:9: error: Cannot find implementation or library stub for module named "arti.formats"  [import-not-found]
+ src/arti/io/__init__.py:10: error: Cannot find implementation or library stub for module named "arti.internal.dispatch"  [import-not-found]
+ src/arti/io/__init__.py:11: error: Cannot find implementation or library stub for module named "arti.internal.utils"  [import-not-found]
+ src/arti/io/__init__.py:12: error: Cannot find implementation or library stub for module named "arti.storage"  [import-not-found]
+ src/arti/io/__init__.py:18: error: Cannot find implementation or library stub for module named "arti.types"  [import-not-found]
+ src/arti/io/__init__.py:19: error: Cannot find implementation or library stub for module named "arti.views"  [import-not-found]
+ src/arti/io/__init__.py:30: error: Untyped decorator makes function "_read" untyped  [misc]
+ src/arti/io/__init__.py:65: error: Untyped decorator makes function "_write" untyped  [misc]
+ src/arti/formats/pickle.py:3: error: Cannot find implementation or library stub for module named "arti.formats"  [import-not-found]
+ src/arti/formats/pickle.py:4: error: Cannot find implementation or library stub for module named "arti.types.python"  [import-not-found]
+ src/arti/formats/pickle.py:7: error: Class cannot subclass "Format" (has type "Any")  [misc]
+ src/arti/formats/json.py:3: error: Cannot find implementation or library stub for module named "arti.formats"  [import-not-found]
+ src/arti/formats/json.py:4: error: Cannot find implementation or library stub for module named "arti.types.python"  [import-not-found]
+ src/arti/formats/json.py:7: error: Class cannot subclass "Format" (has type "Any")  [misc]
+ src/arti/formats/__init__.py:7: error: Cannot find implementation or library stub for module named "arti.internal.models"  [import-not-found]
+ src/arti/formats/__init__.py:8: error: Cannot find implementation or library stub for module named "arti.types"  [import-not-found]
+ src/arti/formats/__init__.py:11: error: Class cannot subclass "Model" (has type "Any")  [misc]
+ src/arti/formats/__init__.py:30: error: Cannot find implementation or library stub for module named "arti.formats.json"  [import-not-found]
+ src/arti/formats/__init__.py:32: error: Returning Any from function declared to return "Format"  [no-any-return]
+ src/arti/backends/__init__.py:10: error: Cannot find implementation or library stub for module named "arti.artifacts"  [import-not-found]
+ src/arti/backends/__init__.py:11: error: Cannot find implementation or library stub for module named "arti.fingerprints"  [import-not-found]
+ src/arti/backends/__init__.py:12: error: Cannot find implementation or library stub for module named "arti.internal.models"  [import-not-found]
+ src/arti/backends/__init__.py:13: error: Cannot find implementation or library stub for module named "arti.partitions"  [import-not-found]
+ src/arti/backends/__init__.py:14: error: Cannot find implementation or library stub for module named "arti.storage"  [import-not-found]
+ src/arti/backends/__init__.py:17: error: Cannot find implementation or library stub for module named "arti.graphs"  [import-not-found]
+ src/arti/backends/__init__.py:133: error: Class cannot subclass "Model" (has type "Any")  [misc]
+ src/arti/annotations/__init__.py:5: error: Cannot find implementation or library stub for module named "arti.internal.models"  [import-not-found]
+ src/arti/annotations/__init__.py:8: error: Class cannot subclass "Model" (has type "Any")  [misc]
+ tests/arti/views/test_python.py:4: error: Cannot find implementation or library stub for module named "arti"  [import-not-found]
+ tests/arti/views/test_python.py:5: error: Cannot find implementation or library stub for module named "arti.formats.pickle"  [import-not-found]
+ tests/arti/views/test_python.py:6: error: Cannot find implementation or library stub for module named "arti.internal.utils"  [import-not-found]
+ tests/arti/views/test_python.py:7: error: Cannot find implementation or library stub for module named "arti.storage.local"  [import-not-found]
+ tests/arti/views/test_python.py:8: error: Cannot find implementation or library stub for module named "arti.views.python"  [import-not-found]
+ tests/arti/storage/test_gcs_storage.py:6: error: Cannot find implementation or library stub for module named "arti"  [import-not-found]
+ tests/arti/storage/test_gcs_storage.py:7: error: Cannot find implementation or library stub for module named "arti.partitions"  [import-not-found]
+ tests/arti/storage/test_gcs_storage.py:8: error: Cannot find implementation or library stub for module named "arti.storage.google.cloud.storage"  [import-not-found]
+ tests/arti/storage/test_gcs_storage.py:9: error: Cannot find implementation or library stub for module named "arti.types"  [import-not-found]
+ src/arti/views/python.py:5: error: Cannot find implementation or library stub for module named "arti.types.python"  [import-not-found]
+ src/arti/views/python.py:6: error: Cannot find implementation or library stub for module named "arti.views"  [import-not-found]
+ src/arti/views/python.py:9: error: Class cannot subclass "View" (has type "Any")  [misc]
+ src/arti/types/python.py:9: error: Cannot find implementation or library stub for module named "arti.types"  [import-not-found]
+ src/arti/types/python.py:9: error: Cannot find implementation or library stub for module named "arti"  [import-not-found]
+ src/arti/types/python.py:10: error: Cannot find implementation or library stub for module named "arti.internal.type_hints"  [import-not-found]
+ src/arti/types/python.py:42: error: Class cannot subclass "_ScalarClassTypeAdapter" (has type "Any")  [misc]
+ src/arti/types/python.py:54: error: Class cannot subclass "_ScalarClassTypeAdapter" (has type "Any")  [misc]
+ src/arti/types/python.py:64: error: Class cannot subclass "TypeAdapter" (has type "Any")  [misc]
+ src/arti/types/python.py:75: error: Returning Any from function declared to return "bool"  [no-any-return]
+ src/arti/types/python.py:80: error: Unused "type: ignore" comment  [unused-ignore]
+ src/arti/types/python.py:135: error: Class cannot subclass "TypeAdapter" (has type "Any")  [misc]
+ src/arti/types/python.py:177: error: Class cannot subclass "TypeAdapter" (has type "Any")  [misc]
+ src/arti/types/python.py:191: error: Returning Any from function declared to return "bool"  [no-any-return]
+ src/arti/types/python.py:203: error: Class cannot subclass "TypeAdapter" (has type "Any")  [misc]
+ src/arti/types/python.py:211: error: Returning Any from function declared to return "bool"  [no-any-return]
+ src/arti/types/python.py:221: error: Returning Any from function declared to return "bool"  [no-any-return]
+ src/arti/types/python.py:231: error: Class cannot subclass "TypeAdapter" (has type "Any")  [misc]
+ src/arti/types/python.py:251: error: Returning Any from function declared to return "bool"  [no-any-return]
+ src/arti/types/pyarrow.py:9: error: Cannot find implementation or library stub for module named "arti"  [import-not-found]
+ src/arti/types/pyarrow.py:10: error: Cannot find implementation or library stub for module named "arti.internal.utils"  [import-not-found]
+ src/arti/types/pyarrow.py:22: error: Class cannot subclass "TypeAdapter" (has type "Any")  [misc]
+ src/arti/types/pyarrow.py:23: error: Untyped decorator makes function "_is_system" untyped  [misc]
+ src/arti/types/pyarrow.py:41: error: Returning Any from function declared to return "type[Any]"  [no-any-return]
+ src/arti/types/pyarrow.py:227: error: Unused "type: ignore" comment  [unused-ignore]
+ src/arti/types/pyarrow.py:281: error: Untyped decorator makes function "unit_to_precision" untyped  [misc]
+ src/arti/types/pyarrow.py:296: error: Unused "type: ignore" comment  [unused-ignore]
+ src/arti/types/pyarrow.py:343: error: Unused "type: ignore" comment  [unused-ignore]
+ src/arti/storage/local.py:9: error: Cannot find implementation or library stub for module named "arti"  [import-not-found]
+ src/arti/storage/local.py:16: error: Cannot find implementation or library stub for module named "arti.storage._internal"  [import-not-found]
+ src/arti/storage/local.py:19: error: Class cannot subclass "StoragePartition" (has type "Any")  [misc]
+ src/arti/storage/local.py:30: error: Class cannot subclass value of type "Any"  [misc]
+ src/arti/io/json_stringliteral_python.py:8: error: Cannot find implementation or library stub for module named "arti.formats.json"  [import-not-found]
+ src/arti/io/json_stringliteral_python.py:9: error: Cannot find implementation or library stub for module named "arti.io"  [import-not-found]
+ src/arti/io/json_stringliteral_python.py:10: error: Cannot find implementation or library stub for module named "arti.storage.literal"  [import-not-found]
+ src/arti/io/json_stringliteral_python.py:11: error: Cannot find implementation or library stub for module named "arti.types"  [import-not-found]
+ src/arti/io/json_stringliteral_python.py:12: error: Cannot find implementation or library stub for module named "arti.views.python"  [import-not-found]
+ src/arti/io/json_stringliteral_python.py:23: error: Untyped decorator makes function "_read_json_stringliteral_python" untyped  [misc]
+ src/arti/io/json_stringliteral_python.py:40: error: Untyped decorator makes function "_write_json_stringliteral_python" untyped  [misc]
+ src/arti/io/json_localfile_python.py:9: error: Cannot find implementation or library stub for module named "arti.formats.json"  [import-not-found]

... (truncated 723 lines) ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Composing multiple configuration files
1 participant