DetachHead / basedpyright

pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server
http://docs.basedpyright.com/
Other
601 stars 12 forks source link

fix logic in `reportUnsafeMultipleInheritance` to correctly account for MRO #444

Closed DetachHead closed 1 week ago

DetachHead commented 1 week ago

fixes #433

github-actions[bot] commented 1 week ago

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


pydantic (https://github.com/samuelcolvin/pydantic)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: NameError (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: NameError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: ImportError (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ImportError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

pandera (https://github.com/pandera-dev/pandera)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Decimal (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Decimal
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Category (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Category
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 72 lines) ...

mypy-protobuf (https://github.com/dropbox/mypy-protobuf)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

spack (https://github.com/spack/spack)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DirectiveMeta, MultiMethodMeta (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DirectiveMeta, MultiMethodMeta
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builder.test/packages/builder-and-mixins/package.py:30:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Builder
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: CompilerPackage (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: CompilerPackage
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase, PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase, PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/aluminum/package.py:12:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase, PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/aluminum/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase, PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 1882 lines) ...

bidict (https://github.com/jab/bidict)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: ValuesView (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ValuesView
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/bidict/bidict/_exc.py:31:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_exc.py:31:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:29:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BidictBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:29:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BidictBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:9:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:23:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

freqtrade (https://github.com/freqtrade/freqtrade)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/persistence/trade_model.py:1597:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: LocalTrade
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/strategy/interface.py:46:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: HyperStrategyMixin
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
- 21481 errors, 0 warnings, 0 notes
+ 21479 errors, 0 warnings, 0 notes

... (truncated 59 lines) ...```
github-actions[bot] commented 1 week ago

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


alectryon (https://github.com/cpitclaudel/alectryon)
+   /tmp/mypy_primer/projects/alectryon/alectryon/coqc_time.py:28:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: CLIDriver, Driver (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:43:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:94:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: list (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:209:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: View (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:387:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Document (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:441:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Driver (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:500:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: CLIDriver, Driver (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:546:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: REPLDriver, CLIDriver, Driver (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:99:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: pending, Element (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:102:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: pending, Element (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:105:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: pending, Element (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:108:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: pending, Element (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:111:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: pending, Element (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:297:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Transform (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:316:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Transform, Transform (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:328:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Transform, Transform (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:360:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Transform, Transform (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:480:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Transform, Transform (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:597:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Transform, Transform (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:720:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Directive (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:734:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Directive, Directive (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:788:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Directive, Directive, Directive (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:792:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Directive, Directive, Directive (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:796:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Directive (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:812:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Directive, Directive (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:840:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Directive (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:890:15 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Directive (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:1095:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Directive, Directive (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:1113:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Directive, Directive (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/docutils.py:1402:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Transformer (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/html.py:92:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Backend (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/latex.py:99:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Context (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/latex.py:119:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Context (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/latex.py:124:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Context (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/latex.py:167:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Raw (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/latex.py:184:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Backend (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/lean3.py:49:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/lean3.py:52:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: REPLDriver, REPLDriver, CLIDriver, Driver (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/lean4.py:31:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: CLIDriver, Driver (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/literate.py:205:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/literate.py:293:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Parser (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/alectryon/alectryon/literate.py:381:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Parser (reportUnsafeMultipleInheritance)

... (truncated 17 lines) ...

pyinstrument (https://github.com/joerick/pyinstrument)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/__main__.py:461:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException (reportUnsafeMultipleInheritance)
+ /tmp/mypy_primer/projects/pyinstrument/pyinstrument/frame_ops.py
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/frame_ops.py:15:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/stack_sampler.py:150:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/base.py:40:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/base.py:44:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Renderer (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/console.py:17:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: FrameRenderer, Renderer (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/html.py:18:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: FrameRenderer, Renderer (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/jsonrenderer.py:23:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: FrameRenderer, Renderer (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/pstatsrenderer.py:19:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: FrameRenderer, Renderer (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/session.py:7:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Renderer (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/speedscope.py:84:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: JSONEncoder (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/renderers/speedscope.py:117:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: FrameRenderer, Renderer (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pyinstrument/test/test_cmdline_main.py:13:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: FrameRenderer, Renderer (reportUnsafeMultipleInheritance)
- 1064 errors, 0 warnings, 0 notes
+ 1077 errors, 0 warnings, 0 notes

pyp (https://github.com/hauntsaninja/pyp)
+   /tmp/mypy_primer/projects/pyp/pyp.py:211:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException (reportUnsafeMultipleInheritance)
- 281 errors, 0 warnings, 0 notes
+ 282 errors, 0 warnings, 0 notes

pydantic (https://github.com/samuelcolvin/pydantic)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PydanticErrorMixin, BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PydanticErrorMixin, NameError, BaseException, BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: NameError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ImportError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PydanticErrorMixin, ImportError, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:134:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PydanticErrorMixin, PydanticErrorMixin, BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:145:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PydanticErrorMixin, PydanticErrorMixin, BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/json_schema.py:123:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/root_model.py:26:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type, type, type (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/root_model.py:35:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: RootModel, BaseModel (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/types.py:1483:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: _SecretBase (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/types.py:1593:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: _SecretBase (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/types.py:1650:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: _SecretBase, _SecretBase (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/types.py:1684:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: _SecretBase, _SecretBase (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/warnings.py:15:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/warnings.py:49:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PydanticDeprecationWarning, BaseException, BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/warnings.py:56:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PydanticDeprecationWarning, BaseException, BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/warnings.py:63:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/warnings.py:67:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_dataclasses.py:42:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: StandardDataclass (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_discriminated_union.py:20:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_generate_schema.py:435:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_generics.py:39:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: dict (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_generics.py:72:46 - error: Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
+   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_model_construction.py:49:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: dict (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_model_construction.py:63:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type, type (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/deprecated/config.py:19:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/deprecated/config.py:54:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/deprecated/decorator.py:238:15 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseModel (reportUnsafeMultipleInheritance)
- 6124 errors, 0 warnings, 0 notes
+ 6146 errors, 0 warnings, 0 notes

pandera (https://github.com/pandera-dev/pandera)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:134:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:149:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:171:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:184:32 - error: Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:209:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:216:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:223:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:230:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:242:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:255:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:263:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:271:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:279:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType, DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:292:34 - error: Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:315:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:322:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:329:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:336:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:348:36 - error: Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:369:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:377:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:385:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType, DataType, DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:405:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:464:30 - error: Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:496:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:509:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:517:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:528:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/dtypes.py:536:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:9:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:15:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:60:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:71:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:75:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException, BaseException (reportUnsafeMultipleInheritance)

... (truncated 303 lines) ...```
github-actions[bot] commented 1 week ago

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


steam.py (https://github.com/Gobot1234/steam.py)
+     Base class "ClanMessage[PartialMember | ClanMember]" derives from "Message[PartialMember | ClanMember, ClanMember]" which is incompatible with type "Message[PartialUser, Channel[Message[UserT@Message, ChannelT@Message], Clan | None, Group | None]]"
-     Base class "ClanMessage[PartialMember | ClanMember]" derives from "Message[PartialMember | ClanMember, ClanMember]" which is incompatible with type "Message[PartialUser, Channel[Message[UserT@Message, ChannelT@Message], Clan | None, Group | None]]" (reportGeneralTypeIssues)
+     Base class "ChatMessage[PartialMember | ClanMember, ClanMember]" derives from "Message[PartialMember | ClanMember, ClanMember]" which is incompatible with type "Message[PartialUser, Channel[Message[UserT@Message, ChannelT@Message], Clan | None, Group | None]]" (reportGeneralTypeIssues)
+     Base class "GroupMessage[PartialMember | GroupMember]" derives from "Message[PartialMember | GroupMember, GroupMember]" which is incompatible with type "Message[PartialUser, Channel[Message[UserT@Message, ChannelT@Message], Clan | None, Group | None]]"
-     Base class "GroupMessage[PartialMember | GroupMember]" derives from "Message[PartialMember | GroupMember, GroupMember]" which is incompatible with type "Message[PartialUser, Channel[Message[UserT@Message, ChannelT@Message], Clan | None, Group | None]]" (reportGeneralTypeIssues)
+     Base class "ChatMessage[PartialMember | GroupMember, GroupMember]" derives from "Message[PartialMember | GroupMember, GroupMember]" which is incompatible with type "Message[PartialUser, Channel[Message[UserT@Message, ChannelT@Message], Clan | None, Group | None]]" (reportGeneralTypeIssues)

pandera (https://github.com/pandera-dev/pandera)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, Decimal, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Decimal
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, Category, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Category
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DataType, DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType

... (truncated 73 lines) ...

mypy-protobuf (https://github.com/dropbox/mypy-protobuf)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/google/protobuf/duration_pb2.pyi:50:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: Message (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: _EnumTypeWrapper, type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: _EnumTypeWrapper, type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: _EnumTypeWrapper, type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: _EnumTypeWrapper, type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: _EnumTypeWrapper, type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: _EnumTypeWrapper, type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: _EnumTypeWrapper, type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: _EnumTypeWrapper, type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: _EnumTypeWrapper, type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
- 432 errors, 0 warnings, 0 notes
+ 433 errors, 0 warnings, 0 notes

pydantic (https://github.com/samuelcolvin/pydantic)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: PydanticErrorMixin, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: PydanticErrorMixin, NameError, BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: NameError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: PydanticErrorMixin, ImportError, BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ImportError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_generics.py:39:11 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: dict (reportUnsafeMultipleInheritance)
- 6124 errors, 0 warnings, 0 notes
+ 6125 errors, 0 warnings, 0 notes

spack (https://github.com/spack/spack)
+   /tmp/mypy_primer/projects/spack/lib/spack/llnl/util/argparsewriter.py:52:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: HelpFormatter (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: DetectablePackageMeta, DirectiveMeta, MultiMethodMeta, type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DirectiveMeta, MultiMethodMeta
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: SpackError, BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: SpackError, BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: AttributeError, SpackError, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: AttributeError, SpackError, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: AttributeError, SpackError, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: SpackError, BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: SpackError, BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: SpackError, BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builder.test/packages/builder-and-mixins/package.py:30:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: Builder (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builder.test/packages/builder-and-mixins/package.py:30:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Builder
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: PackageBase, CompilerPackage (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: CompilerPackage
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase, PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)

... (truncated 1894 lines) ...

bidict (https://github.com/jab/bidict)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because more than one class in the MRO has an `__init__` or `__new__` method: KeysView, ValuesView, MappingView (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ValuesView
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 89 lines) ...```
github-actions[bot] commented 1 week ago

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


mypy-protobuf (https://github.com/dropbox/mypy-protobuf)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

pydantic (https://github.com/samuelcolvin/pydantic)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: NameError (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: NameError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: ImportError (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ImportError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

pandera (https://github.com/pandera-dev/pandera)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Decimal (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Decimal
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Category (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Category
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 72 lines) ...

spack (https://github.com/spack/spack)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DirectiveMeta, MultiMethodMeta (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DirectiveMeta, MultiMethodMeta
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builder.test/packages/builder-and-mixins/package.py:30:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Builder
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: CompilerPackage (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: CompilerPackage
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase, PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase, PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/aluminum/package.py:12:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase, PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/aluminum/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase, PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 1882 lines) ...

bidict (https://github.com/jab/bidict)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: ValuesView (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ValuesView
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/bidict/bidict/_exc.py:31:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_exc.py:31:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:29:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BidictBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:29:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BidictBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

freqtrade (https://github.com/freqtrade/freqtrade)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/persistence/trade_model.py:1597:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: LocalTrade
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/strategy/interface.py:46:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: HyperStrategyMixin
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
- 21481 errors, 0 warnings, 0 notes
+ 21479 errors, 0 warnings, 0 notes

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:9:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:23:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 59 lines) ...```
github-actions[bot] commented 1 week ago

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


mypy-protobuf (https://github.com/dropbox/mypy-protobuf)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

pandera (https://github.com/pandera-dev/pandera)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Decimal (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Decimal
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Category (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Category
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 72 lines) ...

pydantic (https://github.com/samuelcolvin/pydantic)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: NameError (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: NameError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: ImportError (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ImportError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

spack (https://github.com/spack/spack)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DirectiveMeta, MultiMethodMeta (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DirectiveMeta, MultiMethodMeta
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builder.test/packages/builder-and-mixins/package.py:30:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Builder
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: CompilerPackage (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: CompilerPackage
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase, PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase, PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/aluminum/package.py:12:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase, PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/aluminum/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase, PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 1882 lines) ...

bidict (https://github.com/jab/bidict)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: ValuesView (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ValuesView
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/bidict/bidict/_exc.py:31:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_exc.py:31:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:29:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BidictBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:29:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BidictBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

freqtrade (https://github.com/freqtrade/freqtrade)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/persistence/trade_model.py:1597:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: LocalTrade
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/strategy/interface.py:46:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: HyperStrategyMixin
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
- 21481 errors, 0 warnings, 0 notes
+ 21479 errors, 0 warnings, 0 notes

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:9:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:23:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 59 lines) ...```
github-actions[bot] commented 1 week ago

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


pydantic (https://github.com/samuelcolvin/pydantic)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: NameError (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: NameError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: ImportError (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ImportError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

pandera (https://github.com/pandera-dev/pandera)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Decimal (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Decimal
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Category (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Category
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 72 lines) ...

mypy-protobuf (https://github.com/dropbox/mypy-protobuf)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

spack (https://github.com/spack/spack)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DirectiveMeta, MultiMethodMeta (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DirectiveMeta, MultiMethodMeta
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builder.test/packages/builder-and-mixins/package.py:30:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Builder
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: CompilerPackage (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: CompilerPackage
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase, PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase, PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/aluminum/package.py:12:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase, PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/aluminum/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase, PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 1888 lines) ...

bidict (https://github.com/jab/bidict)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: ValuesView (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ValuesView
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/bidict/bidict/_exc.py:31:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_exc.py:31:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:29:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BidictBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:29:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BidictBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

freqtrade (https://github.com/freqtrade/freqtrade)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/persistence/trade_model.py:1597:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: LocalTrade
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/strategy/interface.py:46:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: HyperStrategyMixin
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
- 21481 errors, 0 warnings, 0 notes
+ 21479 errors, 0 warnings, 0 notes

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:9:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:23:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 59 lines) ...```
github-actions[bot] commented 1 week ago

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


pydantic (https://github.com/samuelcolvin/pydantic)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: NameError (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: NameError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: ImportError (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ImportError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

mypy-protobuf (https://github.com/dropbox/mypy-protobuf)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: type (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

pandera (https://github.com/pandera-dev/pandera)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Decimal (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Decimal
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: Category (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Category
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DataType (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 72 lines) ...

spack (https://github.com/spack/spack)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: DirectiveMeta, MultiMethodMeta (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DirectiveMeta, MultiMethodMeta
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: SpackError (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builder.test/packages/builder-and-mixins/package.py:30:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Builder
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: CompilerPackage (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: CompilerPackage
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase, PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase, PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/aluminum/package.py:12:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: PackageBase, PackageBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/aluminum/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase, PackageBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 1888 lines) ...

bidict (https://github.com/jab/bidict)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: ValuesView (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ValuesView
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/bidict/bidict/_exc.py:31:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_exc.py:31:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:29:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BidictBase (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:29:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BidictBase
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

freqtrade (https://github.com/freqtrade/freqtrade)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/persistence/trade_model.py:1597:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: LocalTrade
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/strategy/interface.py:46:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: HyperStrategyMixin
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
- 21481 errors, 0 warnings, 0 notes
+ 21479 errors, 0 warnings, 0 notes

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:9:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:23:7 - error: Multiple inheritance is not allowed because more than one base class has an `__init__` or `__new__` method: BaseException (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 59 lines) ...```
github-actions[bot] commented 1 week ago

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


pandera (https://github.com/pandera-dev/pandera)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:118:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:170:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:209:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:254:11 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:303:11 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:347:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:397:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/numpy_engine.py:410:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:285:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:368:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:415:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:463:11 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Decimal
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:538:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: Decimal (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Category
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:619:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: Category (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:664:11 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:822:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:937:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DataType (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1614:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DataType

... (truncated 74 lines) ...

pydantic (https://github.com/samuelcolvin/pydantic)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:90:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: BaseException (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: NameError
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:94:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: NameError (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ImportError
+   /tmp/mypy_primer/projects/pydantic/pydantic/errors.py:123:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: ImportError (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

mypy-protobuf (https://github.com/dropbox/mypy-protobuf)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/readme_enum_pb2.pyi:23:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: type (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:27:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: type (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test3_pb2.pyi:63:11 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: type (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:35:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: type (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:55:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: type (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:82:11 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: type (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/test_pb2.pyi:289:11 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: type (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:44:11 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: type (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: type
+   /tmp/mypy_primer/projects/mypy-protobuf/test/generated/testproto/nested/nested_pb2.pyi:63:15 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: type (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

spack (https://github.com/spack/spack)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: DirectiveMeta, MultiMethodMeta (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/package_base.py:321:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: DirectiveMeta, MultiMethodMeta
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/spec.py:5569:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: BaseException (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/variant.py:934:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: BaseException (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1087:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: SpackError (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1093:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: SpackError (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: SpackError
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1099:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: SpackError (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/common.py:1105:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: BaseException (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:485:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: BaseException (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/modules/lmod.py:491:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: BaseException (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builder.test/packages/builder-and-mixins/package.py:30:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: Builder
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/7zip/package.py:15:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: PackageBase (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/accfft/package.py:9:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: PackageBase (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: CompilerPackage
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acfl/package.py:262:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: CompilerPackage (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/acts/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: PackageBase (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase, PackageBase
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/adios2/package.py:12:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: PackageBase, PackageBase (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpaka/package.py:10:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: PackageBase (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: PackageBase
+   /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/alpgen/package.py:11:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: PackageBase (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

... (truncated 1891 lines) ...

bidict (https://github.com/jab/bidict)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: ValuesView (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: ValuesView
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_exc.py:31:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
+   /tmp/mypy_primer/projects/bidict/bidict/_exc.py:31:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: BaseException (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:29:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BidictBase
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:29:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: BidictBase (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:9:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:9:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: BaseException (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:23:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: BaseException
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/errors.py:23:7 - error: Multiple inheritance is not allowed because the following base classes contain `__init__` or `__new__` methods that may not get called: BaseException (reportUnsafeMultipleInheritance)
-     Only the first base class is allowed to have a constructor. (reportUnsafeMultipleInheritance)

freqtrade (https://github.com/freqtrade/freqtrade)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/persistence/trade_model.py:1597:7 - error: Multiple inheritance is not allowed because the following base classes have `__init__` or `__new__` methods: LocalTrade

... (truncated 62 lines) ...```