Summary

Comparing branches/commits:
Old: main (merge base) 8fb29eaf
New: 20749/merge 163886a4
Lint Rule Removed Added Changed
Total 315 8 9
possibly-missing-attribute 182 0 0
invalid-argument-type 67 7 8
invalid-return-type 17 0 1
non-subscriptable 15 0 0
unsupported-operator 13 0 0
no-matching-overload 10 0 0
call-non-callable 5 0 0
invalid-assignment 4 0 0
not-iterable 2 0 0
unused-ignore-comment 0 1 0

Expression (https://github.com/cognitedata/Expression)

expression/core/option.py

[error] invalid-return-type - :221:16 - Return type does not match returned value: expected `Option[_TSource@of_optional]`, found `Option[_TSource@of_optional | None]`

antidote (https://github.com/Finistere/antidote)

src/antidote/core/_scope.py

[error] invalid-return-type - :51:16 - Return type does not match returned value: expected `ScopeVarToken[T@AbstractScopeVar, Any]`, found `ScopeVarToken[T@AbstractScopeVar | Missing, Unknown]`

anyio (https://github.com/agronholm/anyio)

src/anyio/_core/_subprocesses.py

[error] invalid-return-type - :125:12 - Return type does not match returned value: expected `CompletedProcess[bytes]`, found `CompletedProcess[bytes | None]`

colour (https://github.com/colour-science/colour)

colour/colorimetry/lefs.py

[error] non-subscriptable - :116:22 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :116:53 - Cannot subscript object of type `None` with no `__getitem__` method
[warning] possibly-missing-attribute - :577:14 - Attribute `shape` on type `SpectralDistribution | None | Any` may be missing
[warning] possibly-missing-attribute - :577:40 - Attribute `shape` on type `SpectralDistribution | None | Any` may be missing
[warning] possibly-missing-attribute - :578:14 - Attribute `shape` on type `SpectralDistribution | None | Any` may be missing
[warning] possibly-missing-attribute - :578:38 - Attribute `shape` on type `SpectralDistribution | None | Any` may be missing
[warning] possibly-missing-attribute - :579:14 - Attribute `shape` on type `SpectralDistribution | None | Any` may be missing
[warning] possibly-missing-attribute - :579:43 - Attribute `shape` on type `SpectralDistribution | None | Any` may be missing

colour/colorimetry/photometry.py

[error] invalid-argument-type - :77:9 - Argument to function `reshape_sd` is incorrect: Argument type `SpectralDistribution | None | Any` does not satisfy upper bound `SpectralDistribution` of type variable `TypeSpectralDistribution`
[error] invalid-argument-type - :128:9 - Argument to function `reshape_sd` is incorrect: Argument type `SpectralDistribution | None | Any` does not satisfy upper bound `SpectralDistribution` of type variable `TypeSpectralDistribution`

colour/colorimetry/tristimulus_values.py

[warning] possibly-missing-attribute - :194:57 - Attribute `shape` on type `MultiSpectralDistributions | None | Any` may be missing
[warning] possibly-missing-attribute - :197:8 - Attribute `shape` on type `SpectralDistribution | None | Any` may be missing
[warning] possibly-missing-attribute - :197:28 - Attribute `shape` on type `MultiSpectralDistributions | None | Any` may be missing
[warning] possibly-missing-attribute - :199:26 - Attribute `name` on type `SpectralDistribution | None | Any` may be missing
[warning] possibly-missing-attribute - :199:66 - Attribute `name` on type `MultiSpectralDistributions | None | Any` may be missing
[error] invalid-argument-type - :203:33 - Argument to function `reshape_sd` is incorrect: Argument type `SpectralDistribution | None | Any` does not satisfy upper bound `SpectralDistribution` of type variable `TypeSpectralDistribution`
[warning] possibly-missing-attribute - :203:45 - Attribute `shape` on type `MultiSpectralDistributions | None | Any` may be missing
[error] invalid-return-type - :205:12 - Return type does not match returned value: expected `tuple[MultiSpectralDistributions, SpectralDistribution]`, found `tuple[MultiSpectralDistributions | None | Any, SpectralDistribution | None | Any]`

colour/models/cam16_ucs.py

[warning] possibly-missing-attribute - :112:17 - Attribute `replace` on type `str | None` may be missing

colour/models/jzazbz.py

[warning] possibly-missing-attribute - :248:15 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :248:38 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :249:15 - Attribute `g` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :249:38 - Attribute `g` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :262:27 - Attribute `d_0` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :350:27 - Attribute `d_0` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :358:25 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :358:55 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :359:25 - Attribute `g` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :359:53 - Attribute `g` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/aces.py

[error] non-subscriptable - :182:14 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :183:14 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :184:21 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :185:22 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :186:22 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :268:21 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :269:22 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :270:22 - Cannot subscript object of type `None` with no `__getitem__` method
[warning] possibly-missing-attribute - :443:20 - Attribute `X_BRK` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :444:9 - Attribute `A` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :444:33 - Attribute `B` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :500:19 - Attribute `Y_BRK` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :502:20 - Attribute `B` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :502:35 - Attribute `A` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/apple_log_profile.py

[warning] possibly-missing-attribute - :110:11 - Attribute `R_0` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :111:11 - Attribute `R_t` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :112:13 - Attribute `sigma` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :113:12 - Attribute `beta` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :114:13 - Attribute `gamma` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :115:13 - Attribute `delta` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :184:11 - Attribute `R_0` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :185:11 - Attribute `R_t` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :186:13 - Attribute `sigma` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :187:12 - Attribute `beta` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :188:13 - Attribute `gamma` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :189:13 - Attribute `delta` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/arib_std_b67.py

[warning] possibly-missing-attribute - :114:9 - Attribute `a` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :115:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :116:9 - Attribute `c` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :179:9 - Attribute `a` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :180:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :181:9 - Attribute `c` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/arri.py

[warning] possibly-missing-attribute - :755:9 - Attribute `a` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :756:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :757:9 - Attribute `c` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :758:9 - Attribute `s` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :759:9 - Attribute `t` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :817:9 - Attribute `a` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :818:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :819:9 - Attribute `c` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :820:9 - Attribute `s` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :821:9 - Attribute `t` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/blackmagic_design.py

[warning] possibly-missing-attribute - :99:9 - Attribute `A` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :100:9 - Attribute `B` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :101:9 - Attribute `C` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :102:9 - Attribute `D` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :103:9 - Attribute `E` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :104:15 - Attribute `LIN_CUT` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :163:9 - Attribute `A` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :164:9 - Attribute `B` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :165:9 - Attribute `C` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :166:9 - Attribute `D` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :167:9 - Attribute `E` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :168:15 - Attribute `LIN_CUT` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/davinci_intermediate.py

[warning] possibly-missing-attribute - :100:18 - Attribute `DI_LIN_CUT` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :101:12 - Attribute `DI_A` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :102:12 - Attribute `DI_B` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :103:12 - Attribute `DI_C` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :104:12 - Attribute `DI_M` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :163:18 - Attribute `DI_LOG_CUT` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :164:12 - Attribute `DI_A` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :165:12 - Attribute `DI_B` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :166:12 - Attribute `DI_C` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :167:12 - Attribute `DI_M` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/dicom_gsdf.py

[warning] possibly-missing-attribute - :136:9 - Attribute `A` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :137:9 - Attribute `B` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :138:9 - Attribute `C` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :139:9 - Attribute `D` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :140:9 - Attribute `E` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :141:9 - Attribute `F` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :142:9 - Attribute `G` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :143:9 - Attribute `H` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :144:9 - Attribute `I` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :220:9 - Attribute `a` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :221:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :222:9 - Attribute `c` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :223:9 - Attribute `d` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :224:9 - Attribute `e` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :225:9 - Attribute `f` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :226:9 - Attribute `g` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :227:9 - Attribute `h` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :228:9 - Attribute `k` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :229:9 - Attribute `m` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/fujifilm_f_log.py

[warning] possibly-missing-attribute - :141:12 - Attribute `cut1` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :142:9 - Attribute `a` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :143:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :144:9 - Attribute `c` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :145:9 - Attribute `d` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :146:9 - Attribute `e` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :147:9 - Attribute `f` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :220:12 - Attribute `cut2` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :221:9 - Attribute `a` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :222:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :223:9 - Attribute `c` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :224:9 - Attribute `d` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :225:9 - Attribute `e` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :226:9 - Attribute `f` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/itur_bt_2020.py

[warning] possibly-missing-attribute - :128:9 - Attribute `alpha` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :129:9 - Attribute `beta` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :189:9 - Attribute `alpha` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :190:9 - Attribute `beta` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/itur_bt_2100.py

[error] unsupported-operator - :591:42 - Operator `/` is unsupported between objects of type `Literal[1]` and `int | float | None`
[error] unsupported-operator - :1141:41 - Operator `-` is unsupported between objects of type `int | float | None` and `Literal[1]`
[error] unsupported-operator - :1142:41 - Operator `-` is unsupported between objects of type `int | float | None` and `Literal[1]`
[error] unsupported-operator - :1143:41 - Operator `-` is unsupported between objects of type `int | float | None` and `Literal[1]`
[error] unsupported-operator - :1228:41 - Operator `-` is unsupported between objects of type `int | float | None` and `Literal[1]`
[error] unsupported-operator - :1229:41 - Operator `-` is unsupported between objects of type `int | float | None` and `Literal[1]`
[error] unsupported-operator - :1230:41 - Operator `-` is unsupported between objects of type `int | float | None` and `Literal[1]`
[error] unsupported-operator - :1410:50 - Operator `-` is unsupported between objects of type `Literal[1]` and `int | float | None`
[error] unsupported-operator - :1512:42 - Operator `-` is unsupported between objects of type `Literal[1]` and `int | float | None`

colour/models/rgb/transfer_functions/leica_l_log.py

[warning] possibly-missing-attribute - :116:12 - Attribute `cut1` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :117:9 - Attribute `a` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :118:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :119:9 - Attribute `c` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :120:9 - Attribute `d` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :121:9 - Attribute `e` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :122:9 - Attribute `f` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :194:12 - Attribute `cut2` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :195:9 - Attribute `a` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :196:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :197:9 - Attribute `c` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :198:9 - Attribute `d` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :199:9 - Attribute `e` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :200:9 - Attribute `f` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/nikon_n_log.py

[warning] possibly-missing-attribute - :116:12 - Attribute `cut1` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :117:9 - Attribute `a` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :118:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :119:9 - Attribute `c` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :120:9 - Attribute `d` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :193:12 - Attribute `cut2` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :194:9 - Attribute `a` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :195:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :196:9 - Attribute `c` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :197:9 - Attribute `d` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/panasonic_v_log.py

[warning] possibly-missing-attribute - :122:12 - Attribute `cut1` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :123:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :124:9 - Attribute `c` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :125:9 - Attribute `d` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :198:12 - Attribute `cut2` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :199:9 - Attribute `b` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :200:9 - Attribute `c` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :201:9 - Attribute `d` on type `Structure | None` may be missing

colour/models/rgb/transfer_functions/st_2084.py

[warning] possibly-missing-attribute - :129:11 - Attribute `c_1` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :130:11 - Attribute `c_2` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :131:11 - Attribute `c_3` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :132:11 - Attribute `m_1` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :133:11 - Attribute `m_2` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :207:11 - Attribute `c_1` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :208:11 - Attribute `c_2` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :209:11 - Attribute `c_3` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :210:11 - Attribute `m_1` on type `Structure | None` may be missing
[warning] possibly-missing-attribute - :211:11 - Attribute `m_2` on type `Structure | None` may be missing

colour/recovery/jiang2013.py

[error] invalid-argument-type - :284:45 - Argument to function `reshape_sd` is incorrect: Expected `SpectralShape`, found `SpectralShape | None`
[error] invalid-argument-type - :290:51 - Argument to function `reshape_msds` is incorrect: Expected `SpectralShape`, found `SpectralShape | None`
[warning] possibly-missing-attribute - :300:36 - Attribute `wavelengths` on type `SpectralShape | None` may be missing
[error] invalid-argument-type - :413:45 - Argument to function `reshape_sd` is incorrect: Expected `SpectralShape`, found `SpectralShape | None`
[error] invalid-argument-type - :419:51 - Argument to function `reshape_msds` is incorrect: Expected `SpectralShape`, found `SpectralShape | None`

colour/temperature/ohno2013.py

[error] invalid-argument-type - :218:39 - Argument to function `planckian_table` is incorrect: Expected `int | float`, found `int | float | None`
[error] invalid-argument-type - :218:46 - Argument to function `planckian_table` is incorrect: Expected `int | float`, found `int | float | None`
[error] invalid-argument-type - :218:51 - Argument to function `planckian_table` is incorrect: Expected `int | float`, found `int | float | None`

colour/characterisation/aces_it.py

[warning] possibly-missing-attribute - :239:8 - Attribute `shape` on type `SpectralDistribution | None | Any` may be missing
[error] invalid-argument-type - :240:33 - Argument to function `reshape_sd` is incorrect: Argument type `SpectralDistribution | None | Any` does not satisfy upper bound `SpectralDistribution` of type variable `TypeSpectralDistribution`
[warning] possibly-missing-attribute - :243:11 - Attribute `values` on type `SpectralDistribution | None | Any` may be missing
[warning] possibly-missing-attribute - :273:17 - Attribute `name` on type `SpectralDistribution | None | Any` may be missing
[warning] possibly-missing-attribute - :1114:8 - Attribute `shape` on type `MultiSpectralDistributions | None` may be missing
[warning] possibly-missing-attribute - :1116:26 - Attribute `name` on type `MultiSpectralDistributions | None` may be missing
[error] invalid-argument-type - :1118:38 - Argument to function `reshape_msds` is incorrect: Argument type `MultiSpectralDistributions | None` does not satisfy upper bound `MultiSpectralDistributions` of type variable `TypeMultiSpectralDistributions`
[error] invalid-argument-type - :1122:43 - Argument to function `training_data_sds_to_RGB` is incorrect: Expected `MultiSpectralDistributions`, found `MultiSpectralDistributions | None | Unknown`
[error] invalid-argument-type - :1125:9 - Argument to function `training_data_sds_to_XYZ` is incorrect: Expected `MultiSpectralDistributions`, found `MultiSpectralDistributions | None | Unknown`

colour/colorimetry/spectrum.py

[error] call-non-callable - :540:13 - Object of type `None` is not callable
[error] call-non-callable - :541:13 - Object of type `None` is not callable
[error] call-non-callable - :542:13 - Object of type `None` is not callable

colour/plotting/colorimetry.py

[error] not-iterable - :1141:24 - Object of type `SpectralShape | None` may not be iterable
[warning] possibly-missing-attribute - :1157:15 - Attribute `interval` on type `SpectralShape | None` may be missing
[warning] possibly-missing-attribute - :1157:43 - Attribute `interval` on type `SpectralShape | None` may be missing

colour/plotting/common.py

[error] unsupported-operator - :1353:12 - Operator `%` is unsupported between objects of type `int` and `int | None`

colour/plotting/diagrams.py

[error] not-iterable - :474:51 - Object of type `Sequence[Unknown] | None | Any` may not be iterable

colour/plotting/models.py

[error] no-matching-overload - :1979:9 - No overload of bound method `update` matches arguments
[error] invalid-argument-type - :442:9 -
Old: Argument to bound method `scatter` is incorrect: Expected `Colorizer | None`, found `Unknown | int | float | str | None`
New: Argument to bound method `scatter` is incorrect: Expected `Colorizer | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 -
Old: Argument to bound method `scatter` is incorrect: Expected `bool`, found `Unknown | int | float | str | None`
New: Argument to bound method `scatter` is incorrect: Expected `Colorizer | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 -
Old: Argument to bound method `scatter` is incorrect: Expected `int | float | None`, found `Unknown | int | float | str | None`
New: Argument to bound method `scatter` is incorrect: Expected `Colorizer | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 -
Old: Argument to bound method `scatter` is incorrect: Expected `int | float | None`, found `Unknown | int | float | str | None`
New: Argument to bound method `scatter` is incorrect: Expected `Colorizer | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 -
Old: Argument to bound method `scatter` is incorrect: Expected `int | float | None`, found `Unknown | int | float | str | None`
New: Argument to bound method `scatter` is incorrect: Expected `Colorizer | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 -
Old: Argument to bound method `scatter` is incorrect: Expected `int | float | Sequence[int | float] | None`, found `Unknown | int | float | str | None`
New: Argument to bound method `scatter` is incorrect: Expected `Colorizer | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 -
Old: Argument to bound method `scatter` is incorrect: Expected `str | Colormap | None`, found `Unknown | int | float | str | None`
New: Argument to bound method `scatter` is incorrect: Expected `Colorizer | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 -
Old: Argument to bound method `scatter` is incorrect: Expected `str | Normalize | None`, found `Unknown | int | float | str | None`
New: Argument to bound method `scatter` is incorrect: Expected `Colorizer | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 - Argument to bound method `scatter` is incorrect: Expected `bool`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 - Argument to bound method `scatter` is incorrect: Expected `int | float | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 - Argument to bound method `scatter` is incorrect: Expected `int | float | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 - Argument to bound method `scatter` is incorrect: Expected `int | float | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 - Argument to bound method `scatter` is incorrect: Expected `int | float | Sequence[int | float] | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 - Argument to bound method `scatter` is incorrect: Expected `str | Colormap | None`, found `Unknown | int | float | str`
[error] invalid-argument-type - :442:9 - Argument to bound method `scatter` is incorrect: Expected `str | Normalize | None`, found `Unknown | int | float | str`

colour/plotting/section.py

[error] invalid-argument-type - :202:54 - Argument expression after ** must be a mapping type: Found `dict[Unknown, Unknown] | None`
[error] invalid-argument-type - :243:13 - Argument expression after ** must be a mapping type: Found `dict[Unknown, Unknown] | None`
[error] invalid-argument-type - :362:54 - Argument expression after ** must be a mapping type: Found `dict[Unknown, Unknown] | None`
[error] invalid-argument-type - :388:13 - Argument expression after ** must be a mapping type: Found `dict[Unknown, Unknown] | None`

colour/plotting/tm3018/report.py

[error] invalid-argument-type - :347:40 - Argument to bound method `text` is incorrect: Expected `str`, found `T@optional | None | str`
[error] invalid-argument-type - :358:40 - Argument to bound method `text` is incorrect: Expected `str`, found `T@optional | None | str`
[error] invalid-argument-type - :372:47 - Argument to bound method `text` is incorrect: Expected `str`, found `T@optional | None | str`
[error] invalid-argument-type - :383:47 - Argument to bound method `text` is incorrect: Expected `str`, found `T@optional | None | str`
[error] invalid-argument-type - :425:30 - Argument to bound method `text` is incorrect: Expected `str`, found `T@optional | None | str`
[error] invalid-argument-type - :527:36 - Argument expression after ** must be a mapping type: Found `dict[Unknown, Unknown] | None`
[error] invalid-argument-type - :622:36 - Argument expression after ** must be a mapping type: Found `dict[Unknown, Unknown] | None`
[error] invalid-argument-type - :706:36 - Argument expression after ** must be a mapping type: Found `dict[Unknown, Unknown] | None`

colour/plotting/volume.py

[error] no-matching-overload - :525:5 - No overload of bound method `update` matches arguments
[error] no-matching-overload - :600:9 - No overload of bound method `update` matches arguments
[error] no-matching-overload - :787:5 - No overload of bound method `update` matches arguments

colour/recovery/jakob2019.py

[error] invalid-argument-type - :678:36 - Argument expression after ** must be a mapping type: Found `dict[Unknown, Unknown] | None`

colour/recovery/otsu2018.py

[error] non-subscriptable - :1597:21 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :1597:53 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :1601:17 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :1601:54 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :1602:17 - Cannot subscript object of type `None` with no `__getitem__` method

colour/utilities/array.py

[error] call-non-callable - :646:12 - Object of type `None` is not callable
[error] call-non-callable - :708:12 - Object of type `None` is not callable

core (https://github.com/home-assistant/core)

homeassistant/core.py

[error] invalid-argument-type - :1546:48 - Argument to function `_event_repr` is incorrect: Expected `EventType[_DataT@async_fire_internal | None] | str`, found `EventType[_DataT@async_fire_internal] | str`
[error] invalid-assignment - :1566:17 - Object of type `Event[Mapping[str, Any]]` is not assignable to `Event[_DataT@async_fire_internal] | None`
[error] invalid-argument-type - :1566:25 - Argument to bound method `__init__` is incorrect: Expected `Event[_DataT@Event]`, found `Event[_DataT@async_fire_internal | None]`
[error] invalid-argument-type - :1567:21 - Argument to bound method `__init__` is incorrect: Expected `EventType[_DataT@async_fire_internal | None] | str`, found `EventType[_DataT@async_fire_internal] | str`

homeassistant/helpers/entity_registry.py

[error] invalid-argument-type - :1048:13 - Argument is incorrect: Expected `Mapping[str, Any] | None`, found `Mapping[str, Any] | None | UndefinedType`
[error] invalid-argument-type - :1049:13 - Argument is incorrect: Expected `str | None`, found `UndefinedType | None | str`
[error] invalid-argument-type - :1050:13 - Argument is incorrect: Expected `str | None`, found `str | None | UndefinedType`
[error] invalid-argument-type - :1053:13 - Argument is incorrect: Expected `str | None`, found `str | None | UndefinedType`
[error] invalid-argument-type - :1055:13 - Argument is incorrect: Expected `EntityCategory | None`, found `EntityCategory | UndefinedType | None`
[error] invalid-argument-type - :1058:13 - Argument is incorrect: Expected `bool`, found `bool | (UndefinedType & ~AlwaysFalsy)`
[error] invalid-argument-type - :1064:13 - Argument is incorrect: Expected `str | None`, found `str | None | UndefinedType`
[error] invalid-argument-type - :1065:13 - Argument is incorrect: Expected `str | None`, found `str | None | UndefinedType`
[error] invalid-argument-type - :1066:13 - Argument is incorrect: Expected `str | None`, found `str | None | UndefinedType`
[error] invalid-argument-type - :1069:13 - Argument is incorrect: Expected `int`, found `(int & ~AlwaysFalsy) | (UndefinedType & ~AlwaysFalsy) | Literal[0]`
[error] invalid-argument-type - :1070:13 - Argument is incorrect: Expected `str | None`, found `str | None | UndefinedType`
[error] invalid-argument-type - :1072:13 - Argument is incorrect: Expected `str | None`, found `str | None | UndefinedType`

ibis (https://github.com/ibis-project/ibis)

ibis/backends/bigquery/__init__.py

[error] no-matching-overload - :1019:16 - No overload of bound method `join` matches arguments

ibis/backends/snowflake/tests/test_client.py

[error] no-matching-overload - :409:16 - No overload of bound method `join` matches arguments

ibis/expr/types/joins.py

[error] invalid-argument-type - :321:31 - Argument to bound method `asof_join` is incorrect: Expected `Sequence[str | Column] | Column`, found `list[Unknown | tuple[()]]`

ibis/expr/types/relations.py

[error] no-matching-overload - :560:16 - No overload of bound method `join` matches arguments
[error] invalid-argument-type - :4857:37 - Argument to function `_to_selector` is incorrect: Expected `Sequence[str | Selector | Column] | Selector | Column`, found `list[Iterable[str] | Selector]`

jax (https://github.com/google/jax)

jax/_src/shard_map.py

[warning] possibly-missing-attribute - :499:54 - Attribute `str_short` on type `ShapedArray | NoFail` may be missing
[warning] possibly-missing-attribute - :500:27 - Attribute `ndim` on type `ShapedArray | NoFail` may be missing
[warning] possibly-missing-attribute - :500:44 - Attribute `ndim` on type `ShapedArray | NoFail` may be missing
[warning] possibly-missing-attribute - :511:14 - Attribute `ndim` on type `ShapedArray | NoFail` may be missing
[warning] possibly-missing-attribute - :538:10 - Attribute `shape` on type `ShapedArray | NoFail` may be missing
[warning] possibly-missing-attribute - :543:50 - Attribute `str_short` on type `ShapedArray | NoFail` may be missing
[warning] possibly-missing-attribute - :545:51 - Attribute `shape` on type `ShapedArray | NoFail` may be missing
[warning] possibly-missing-attribute - :547:16 - Attribute `shape` on type `ShapedArray | NoFail` may be missing
[error] unsupported-operator - :573:44 - Operator `in` is not supported for types `Hashable` and `NoFail`, in comparing `Hashable` with `set[Unknown] | NoFail`

jax/_src/tree_util.py

[error] invalid-argument-type - :456:22 - Argument is incorrect: Expected `T@_parallel_reduce`, found `T@_parallel_reduce | Unspecified`
[error] invalid-argument-type - :456:25 - Argument is incorrect: Expected `T@_parallel_reduce`, found `T@_parallel_reduce | Unspecified`
[error] invalid-return-type - :469:10 - Return type does not match returned value: expected `T@tree_reduce_associative`, found `T@tree_reduce_associative | Unspecified`
[error] invalid-argument-type - :469:37 - Argument to function `_parallel_reduce` is incorrect: Expected `(T@tree_reduce_associative | Unspecified, T@tree_reduce_associative | Unspecified, /) -> T@tree_reduce_associative | Unspecified`, found `(T@tree_reduce_associative, T@tree_reduce_associative, /) -> T@tree_reduce_associative`

pip (https://github.com/pypa/pip)

src/pip/_vendor/resolvelib/resolvers/resolution.py

[error] invalid-argument-type - :48:35 - Argument to function `_has_route_to_root` is incorrect: Expected `Mapping[KT@_build_result | @Todo | None, Criterion[RT@_build_result, CT@_build_result]]`, found `dict[KT@_build_result, Criterion[RT@_build_result, CT@_build_result]]`
[error] invalid-return-type - :597:16 - Return type does not match returned value: expected `Result[RT@Resolver, CT@Resolver, KT@Resolver]`, found `Result[Unknown, Unknown | None, Unknown]`

prefect (https://github.com/PrefectHQ/prefect)

src/prefect/server/concurrency/lease_storage/memory.py

[error] invalid-return-type - :49:16 - Return type does not match returned value: expected `ResourceLease[ConcurrencyLimitLeaseMetadata]`, found `ResourceLease[ConcurrencyLimitLeaseMetadata | None]`

src/integrations/prefect-redis/prefect_redis/lease_storage.py

[error] invalid-return-type - :143:16 - Return type does not match returned value: expected `ResourceLease[ConcurrencyLimitLeaseMetadata]`, found `ResourceLease[None | ConcurrencyLimitLeaseMetadata]`
[error] invalid-return-type - :198:20 - Return type does not match returned value: expected `ResourceLease[ConcurrencyLimitLeaseMetadata]`, found `ResourceLease[ConcurrencyLimitLeaseMetadata | None]`

src/prefect/server/concurrency/lease_storage/filesystem.py

[error] invalid-return-type - :120:16 - Return type does not match returned value: expected `ResourceLease[ConcurrencyLimitLeaseMetadata]`, found `ResourceLease[None | ConcurrencyLimitLeaseMetadata]`
[error] invalid-return-type - :143:16 - Return type does not match returned value: expected `ResourceLease[ConcurrencyLimitLeaseMetadata]`, found `ResourceLease[ConcurrencyLimitLeaseMetadata | None]`

rotki (https://github.com/rotki/rotki)

rotkehlchen/history/events/structures/evm_event.py

[error] invalid-argument-type - :204:63 - Argument to function `deserialize_optional` is incorrect: Expected `(str | None, /) -> Any`, found `def string_to_evm_address(value: str) -> @Todo`

rotkehlchen/chain/decoding/tools.py

[warning] unused-ignore-comment - :97:44 - Unused blanket `type: ignore` directive

rotkehlchen/history/events/structures/evm_swap.py

[error] invalid-argument-type - :103:63 - Argument to function `deserialize_optional` is incorrect: Expected `(str | None, /) -> Any`, found `def string_to_evm_address(value: str) -> @Todo`

sphinx (https://github.com/sphinx-doc/sphinx)

sphinx/ext/apidoc/_generate.py

[error] no-matching-overload - :50:12 - No overload of bound method `join` matches arguments

sphinx/ext/graphviz.py

[error] no-matching-overload - :377:14 - No overload of bound method `join` matches arguments

streamlit (https://github.com/streamlit/streamlit)

lib/streamlit/runtime/fragment.py

[error] invalid-return-type - :437:12 - Return type does not match returned value: expected `((F@fragment, /) -> F@fragment) | F@fragment`, found `((F@fragment | None, /) -> F@fragment | None) | F@fragment | None`

sympy (https://github.com/sympy/sympy)

sympy/matrices/matrixbase.py

[error] invalid-return-type - :5501:16 - Return type does not match returned value: expected `Self@pinv_solve`, found `Unknown | None`

trio (https://github.com/python-trio/trio)

src/trio/_core/_tests/test_run.py

[warning] possibly-missing-attribute - :291:16 - Attribute `parent_task` on type `Nursery | None` may be missing
[warning] possibly-missing-attribute - :299:12 - Attribute `parent_nursery` on type `Task | None` may be missing
[warning] possibly-missing-attribute - :299:35 - Attribute `eventual_parent_nursery` on type `Task | None` may be missing
[warning] possibly-missing-attribute - :1553:13 - Attribute `run_sync_soon` on type `TrioToken | None` may be missing
[warning] possibly-missing-attribute - :1755:16 - Attribute `parent_task` on type `Nursery | None` may be missing
[error] invalid-argument-type - :2491:17 - Argument to function `reattach_detached_coroutine_object` is incorrect: Expected `Task`, found `Task | None`
[error] invalid-argument-type - :246:26 - Argument to function `reschedule` is incorrect: Expected `Task`, found `Task | None`
[error] invalid-argument-type - :253:26 - Argument to function `reschedule` is incorrect: Expected `Task`, found `Task | None`

src/trio/_subprocess.py

[error] invalid-return-type - :783:16 - Return type does not match returned value: expected `CompletedProcess[bytes]`, found `CompletedProcess[bytes | None]`

vision (https://github.com/pytorch/vision)

torchvision/models/detection/fcos.py

[error] invalid-argument-type - :770:28 - Argument to bound method `__init__` is incorrect: Expected `int`, found `int | None`

torchvision/models/detection/ssd.py

[error] invalid-argument-type - :677:57 - Argument to bound method `__init__` is incorrect: Expected `int`, found `int | None`

torchvision/models/detection/ssdlite.py

[error] invalid-argument-type - :323:9 - Argument to bound method `__init__` is incorrect: Expected `int`, found `int | None`
[error] invalid-argument-type - :324:53 - Argument to bound method `__init__` is incorrect: Expected `int`, found `int | None`

torchvision/models/segmentation/deeplabv3.py

[error] invalid-argument-type - :276:41 - Argument to function `_deeplabv3_resnet` is incorrect: Expected `int`, found `int | None`
[error] invalid-argument-type - :332:41 - Argument to function `_deeplabv3_resnet` is incorrect: Expected `int`, found `int | None`
[error] invalid-argument-type - :386:46 - Argument to function `_deeplabv3_mobilenetv3` is incorrect: Expected `int`, found `int | None`

torchvision/models/segmentation/fcn.py

[error] invalid-argument-type - :168:35 - Argument to function `_fcn_resnet` is incorrect: Expected `int`, found `int | None`
[error] invalid-argument-type - :227:35 - Argument to function `_fcn_resnet` is incorrect: Expected `int`, found `int | None`

torchvision/models/segmentation/lraspp.py

[error] invalid-argument-type - :173:43 - Argument to function `_lraspp_mobilenetv3` is incorrect: Expected `int`, found `int | None`

websockets (https://github.com/aaugustin/websockets)

src/websockets/frames.py

[error] no-matching-overload - :196:20 - No overload of bound method `join` matches arguments

xarray (https://github.com/pydata/xarray)

xarray/computation/computation.py

[error] invalid-return-type - :149:12 - Return type does not match returned value: expected `T_DataArray@cov`, found `T_DataArray@cov | None`
[error] invalid-return-type - :252:12 - Return type does not match returned value: expected `T_DataArray@corr`, found `T_DataArray@corr | None`

xarray/tests/test_computation.py

[error] unsupported-operator - :1816:9 - Operator `+` is unsupported between objects of type `DataArray | None` and `DataArray | None`
[error] unsupported-operator - :1820:9 - Operator `+` is unsupported between objects of type `DataArray | None` and `DataArray | None`

zulip (https://github.com/zulip/zulip)

corporate/lib/stripe.py

[error] invalid-argument-type - :5342:13 - Argument to function `__new__` is incorrect: Expected `int | float`, found `int | None`

zerver/lib/test_classes.py

[error] invalid-assignment - :2746:13 - Object of type `dict[str | None, list[str | None]]` is not assignable to `dict[str, list[str]]`

zerver/lib/typed_endpoint.py

[error] invalid-return-type - :271:12 -
Old: Return type does not match returned value: expected `FuncParam[T@parse_single_parameter]`, found `FuncParam[(Any & ~<class '_empty'>) | _NotSpecified]`
New: Return type does not match returned value: expected `FuncParam[T@parse_single_parameter]`, found `FuncParam[Any & ~<class '_empty'>]`

zerver/tests/test_bots.py

[error] invalid-argument-type - :624:42 - Argument to function `do_change_default_sending_stream` is incorrect: Expected `UserProfile`, found `Unknown | None`
[error] invalid-assignment - :625:9 - Object of type `None` is not assignable to attribute `bot_owner_id` on type `Unknown | None`
[warning] possibly-missing-attribute - :626:9 - Attribute `save` on type `Unknown | None` may be missing
[warning] possibly-missing-attribute - :628:51 - Attribute `id` on type `Unknown | None` may be missing
[error] invalid-argument-type - :2041:42 - Argument to function `do_change_default_sending_stream` is incorrect: Expected `UserProfile`, found `Unknown | None`
[error] invalid-assignment - :2042:9 - Object of type `None` is not assignable to attribute `bot_owner_id` on type `Unknown | None`
[warning] possibly-missing-attribute - :2043:9 - Attribute `save` on type `Unknown | None` may be missing
[error] invalid-argument-type - :2045:45 - Argument to function `bot_owner_user_ids` is incorrect: Expected `UserProfile`, found `Unknown | None`

zerver/views/auth.py

[error] invalid-return-type - :125:16 - Return type does not match returned value: expected `str`, found `str | AnyStr@urljoin | None`