Ecosystem report

Old: main (merge base) b79e9bac New: 22333/merge a98ce38e
Lint Rule Removed Added Changed
Total 102 2 3
no-matching-overload 56 0 0
invalid-argument-type 40 0 0
possibly-missing-attribute 5 0 0
invalid-return-type 1 0 3
invalid-assignment 0 2 0
Project Removed Added Changed
Total 102 2 3
pywin32 16 0 0
pycryptodome 10 0 0
scipy 9 0 0
scikit-learn 7 1 0
dd-trace-py 6 0 0
pytest 5 0 0
mkdocs 4 0 0
mypy 4 0 0
pyodide 4 0 0
static-frame 1 0 3
cloud-init 3 0 0
prefect 3 0 0
artigraph 2 0 0
bandersnatch 2 0 0
cwltool 2 0 0
ibis 2 0 0
jax 2 0 0
meson 1 1 0
mitmproxy 2 0 0
paasta 2 0 0

altair (https://github.com/vega/altair)

tests/vegalite/v6/test_theme.py

[error] invalid-argument-type - :1086:17 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

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

tests/arti/internal/test_utils.py

[error] invalid-argument-type - :56:20 - Argument to bound method `__init__` is incorrect: Expected `str | PathLike[str]`, found `str | None`
[error] invalid-argument-type - :56:20 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

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

src/bandersnatch/tests/test_main.py

[error] invalid-argument-type - :69:29 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`
[error] invalid-argument-type - :138:25 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

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

src/bokeh/util/warnings.py

[error] no-matching-overload - :74:15 - No overload of function `dirname` matches arguments

cloud-init (https://github.com/canonical/cloud-init)

tests/helpers.py

[error] invalid-argument-type - :11:17 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

tests/integration_tests/modules/test_combined.py

[error] invalid-argument-type - :340:27 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

tests/unittests/config/test_cc_ntp.py

[error] no-matching-overload - :274:37 - No overload of function `realpath` matches arguments

comtypes (https://github.com/enthought/comtypes)

comtypes/server/register.py

[error] invalid-argument-type - :317:60 - Argument to function `_iter_inproc_ctx_entries` is incorrect: Expected `str`, found `str | None`

cwltool (https://github.com/common-workflow-language/cwltool)

cwltool/job.py

[error] invalid-argument-type - :1033:29 - Argument to function `copyfile` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes]`, found `str | None`
[error] invalid-argument-type - :1036:29 - Argument to function `copyfile` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes]`, found `str | None`

dd-trace-py (https://github.com/DataDog/dd-trace-py)

ddtrace/internal/utils/config.py

[error] no-matching-overload - :19:12 - No overload of function `basename` matches arguments

lib-injection/sources/sitecustomize.py

[error] no-matching-overload - :513:62 - No overload of function `dirname` matches arguments

ddtrace/bootstrap/sitecustomize.py

[error] no-matching-overload - :74:23 - No overload of function `dirname` matches arguments

ddtrace/commands/ddtrace_run.py

[error] no-matching-overload - :95:16 - No overload of function `dirname` matches arguments

tests/commands/test_runner.py

[error] no-matching-overload - :25:19 - No overload of function `dirname` matches arguments

tests/internal/test_auto.py

[error] invalid-argument-type - :88:33 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

flake8 (https://github.com/pycqa/flake8)

tests/unit/plugins/pycodestyle_test.py

[error] invalid-argument-type - :32:15 - Argument to function `open` is incorrect: Expected `int | str | bytes | PathLike[str] | PathLike[bytes]`, found `str | None`

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

ibis/backends/pyspark/tests/conftest.py

[error] invalid-argument-type - :289:30 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

ibis/backends/snowflake/tests/test_udf.py

[error] no-matching-overload - :183:21 - No overload of function `dirname` matches arguments

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

jax/_src/source_info_util.py

[error] no-matching-overload - :53:5 - No overload of function `dirname` matches arguments

jax/_src/traceback_util.py

[error] invalid-argument-type - :40:20 - Argument to function `register_exclusion` is incorrect: Expected `str`, found `str | None`

meson (https://github.com/mesonbuild/meson)

mesonbuild/minstall.py

[error] invalid-assignment - :30:17 - Object of type `None` is not assignable to `str`

run_tests.py

[error] invalid-argument-type - :202:27 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

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

test/mitmproxy/tools/web/test_app.py

[error] invalid-argument-type - :120:27 - Argument to bound method `__init__` is incorrect: Expected `str | PathLike[str]`, found `str | None`
[error] invalid-argument-type - :120:27 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

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

mkdocs/tests/theme_tests.py

[error] no-matching-overload - :11:30 - No overload of function `dirname` matches arguments

mkdocs/tests/config/config_options_legacy_tests.py

[warning] possibly-missing-attribute - :857:22 - Attribute `split` may be missing on object of type `str | None`

mkdocs/tests/config/config_options_tests.py

[warning] possibly-missing-attribute - :1070:22 - Attribute `split` may be missing on object of type `str | None`

mkdocs/tests/config/config_tests.py

[error] no-matching-overload - :98:38 - No overload of function `dirname` matches arguments

mypy (https://github.com/python/mypy)

mypy/test/testmypyc.py

[warning] possibly-missing-attribute - :16:24 - Attribute `endswith` may be missing on object of type `str | None`

mypy/modulefinder.py

[error] no-matching-overload - :857:17 - No overload of function `check_output` matches arguments

mypy/test/testtypes.py

[warning] possibly-missing-attribute - :1605:17 - Attribute `endswith` may be missing on object of type `str | None`
[error] invalid-argument-type - :1607:19 - Argument to function `open` is incorrect: Expected `int | str | bytes | PathLike[str] | PathLike[bytes]`, found `str | None`

openlibrary (https://github.com/internetarchive/openlibrary)

openlibrary/plugins/admin/code.py

[error] no-matching-overload - :186:29 - No overload of function `dirname` matches arguments

paasta (https://github.com/yelp/paasta)

paasta_tools/api/api.py

[error] no-matching-overload - :100:23 - No overload of function `dirname` matches arguments

paasta_tools/utils.py

[error] no-matching-overload - :2364:20 - No overload of function `dirname` matches arguments

pandas (https://github.com/pandas-dev/pandas)

pandas/util/_exceptions.py

[error] no-matching-overload - :45:15 - No overload of function `dirname` matches arguments

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

src/pip/_internal/utils/virtualenv.py

[error] no-matching-overload - :87:36 - No overload of function `abspath` matches arguments

src/pip/_internal/build_env.py

[error] invalid-argument-type - :70:27 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

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

src/prefect/server/database/orm_models.py

[error] invalid-argument-type - :1592:18 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`
[error] invalid-argument-type - :1608:18 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

src/prefect/server/database/alembic_commands.py

[error] invalid-argument-type - :44:24 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

pycryptodome (https://github.com/Legrandin/pycryptodome)

lib/Crypto/SelfTest/Hash/test_BLAKE2.py

[error] no-matching-overload - :319:20 - No overload of function `dirname` matches arguments
[error] no-matching-overload - :377:20 - No overload of function `dirname` matches arguments
[error] no-matching-overload - :437:20 - No overload of function `dirname` matches arguments

lib/Crypto/SelfTest/Protocol/test_HPKE.py

[error] no-matching-overload - :339:24 - No overload of function `dirname` matches arguments

lib/Crypto/SelfTest/PublicKey/test_import_Curve25519.py

[error] no-matching-overload - :62:20 - No overload of function `dirname` matches arguments

lib/Crypto/SelfTest/PublicKey/test_import_Curve448.py

[error] no-matching-overload - :35:20 - No overload of function `dirname` matches arguments

lib/Crypto/SelfTest/PublicKey/test_import_ECC.py

[error] no-matching-overload - :68:20 - No overload of function `dirname` matches arguments

lib/Crypto/SelfTest/PublicKey/test_import_RSA.py

[error] no-matching-overload - :54:20 - No overload of function `dirname` matches arguments

lib/Crypto/SelfTest/loader.py

[error] no-matching-overload - :165:20 - No overload of function `dirname` matches arguments
[error] no-matching-overload - :188:20 - No overload of function `dirname` matches arguments

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

pyodide-build/pyodide_build/pypabuild.py

[error] no-matching-overload - :266:5 - No overload of function `copy2` matches arguments
[error] no-matching-overload - :271:5 - No overload of function `copy2` matches arguments

pyodide-build/pyodide_build/pywasmcross.py

[error] invalid-argument-type - :20:21 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

src/tests/test_stdlib_fixes.py

[error] invalid-argument-type - :302:28 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

pytest (https://github.com/pytest-dev/pytest)

src/_pytest/nodes.py

[error] invalid-argument-type - :54:24 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

src/_pytest/_code/code.py

[warning] possibly-missing-attribute - :1526:20 - Attribute `rstrip` may be missing on object of type `str | None`
[error] invalid-argument-type - :1530:20 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

src/_pytest/fixtures.py

[error] invalid-argument-type - :1937:20 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

testing/code/test_excinfo.py

[error] invalid-argument-type - :187:24 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

pywin32 (https://github.com/mhammond/pywin32)

Pythonwin/pywin/test/test_exe.py

[error] no-matching-overload - :19:21 - No overload of function `dirname` matches arguments

Pythonwin/pywin/scintilla/control.py

[error] no-matching-overload - :25:26 - No overload of function `split` matches arguments
[error] no-matching-overload - :34:26 - No overload of function `split` matches arguments

com/win32com/server/register.py

[error] no-matching-overload - :237:29 - No overload of function `dirname` matches arguments
[error] no-matching-overload - :240:37 - No overload of function `basename` matches arguments

com/win32com/test/util.py

[error] no-matching-overload - :50:17 - No overload of function `basename` matches arguments

com/win32comext/shell/demos/servers/empty_volume_cache.py

[error] no-matching-overload - :77:52 - No overload of function `dirname` matches arguments

win32/Lib/win32serviceutil.py

[error] no-matching-overload - :51:26 - No overload of function `dirname` matches arguments
[error] no-matching-overload - :144:17 - No overload of function `split` matches arguments

win32/scripts/pywin32_postinstall.py

[error] no-matching-overload - :362:29 - No overload of function `dirname` matches arguments
[error] no-matching-overload - :363:31 - No overload of function `dirname` matches arguments
[error] no-matching-overload - :364:28 - No overload of function `dirname` matches arguments

win32/scripts/regsetup.py

[error] no-matching-overload - :405:25 - No overload of function `split` matches arguments

win32/scripts/setup_d.py

[error] no-matching-overload - :26:21 - No overload of function `basename` matches arguments

win32/test/testall.py

[error] no-matching-overload - :141:11 - No overload of function `dirname` matches arguments
[error] no-matching-overload - :143:33 - No overload of function `basename` matches arguments

scikit-build-core (https://github.com/scikit-build/scikit-build-core)

src/scikit_build_core/builder/builder.py

[error] invalid-argument-type - :186:27 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

scikit-learn (https://github.com/scikit-learn/scikit-learn)

sklearn/tests/test_common.py

[error] no-matching-overload - :133:21 - No overload of function `dirname` matches arguments
[error] no-matching-overload - :154:21 - No overload of function `dirname` matches arguments
[error] no-matching-overload - :181:21 - No overload of function `dirname` matches arguments

sklearn/tests/test_docstring_parameters.py

[error] no-matching-overload - :42:21 - No overload of function `dirname` matches arguments

sklearn/tests/test_min_dependencies_readme.py

[error] invalid-argument-type - :102:24 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`
[error] invalid-argument-type - :205:27 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

sklearn/utils/_testing.py

[error] no-matching-overload - :926:35 - No overload of function `dirname` matches arguments
[error] invalid-assignment - :936:13 - Cannot assign to a subscript on an object of type `str`

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

scipy/_lib/tests/test_warnings.py

[error] invalid-argument-type - :80:17 - Argument to bound method `__init__` is incorrect: Expected `str | PathLike[str]`, found `str | None`
[error] invalid-argument-type - :80:17 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

scipy/fftpack/tests/test_import.py

[error] invalid-argument-type - :23:21 - Argument to bound method `__init__` is incorrect: Expected `str | PathLike[str]`, found `str | None`
[error] invalid-argument-type - :23:21 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

tools/check_xp_untested.py

[error] invalid-argument-type - :73:41 - Argument to bound method `__init__` is incorrect: Expected `str | PathLike[str]`, found `str | None`
[error] invalid-argument-type - :73:41 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

doc/source/conf.py

[error] no-matching-overload - :501:45 - No overload of function `dirname` matches arguments

scipy/_lib/cobyqa/doc/source/conf.py

[error] invalid-argument-type - :216:30 - Argument to bound method `__init__` is incorrect: Expected `str | PathLike[str]`, found `str | None`
[error] invalid-argument-type - :216:30 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

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

setuptools/_distutils/tests/test_sysconfig.py

[error] no-matching-overload - :296:42 - No overload of function `dirname` matches arguments

setuptools/command/setopt.py

[error] no-matching-overload - :23:29 - No overload of function `dirname` matches arguments

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

lib/spack/spack/test/concretization/core.py

[error] no-matching-overload - :4504:25 - No overload of function `dirname` matches arguments

lib/spack/spack/test/schema.py

[error] no-matching-overload - :244:34 - No overload of function `dirname` matches arguments

static-frame (https://github.com/static-frame/static-frame)

static_frame/core/bus.py

[error] invalid-return-type - :671 -
Old: Return type does not match returned value: expected `InterGetItemLocReduces[Bus[Any], object_]`, found `InterGetItemLocReduces[Bus[Any] | Bottom[Series[Any, Any]] | ndarray[Never, Never] | ... omitted 6 union elements, object_]`
New: Return type does not match returned value: expected `InterGetItemLocReduces[Bus[Any], object_]`, found `InterGetItemLocReduces[Bus[Any] | Bottom[Index[Any]] | Bottom[Series[Any, Any]] | ... omitted 6 union elements, object_]`

static_frame/core/index.py

[error] invalid-return-type - :580 -
Old: Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@loc, TVDtype@Index]`, found `InterGetItemLocReduces[Bottom[Series[Any, Any]] | Any, TVDtype@Index]`
New: Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@loc, TVDtype@Index]`, found `InterGetItemLocReduces[Any | Bottom[Series[Any, Any]], TVDtype@Index]`

static_frame/core/series.py

[error] invalid-return-type - :4072 -
Old: Return type does not match returned value: expected `InterGetItemILocReduces[SeriesHE[Any, Any], TVDtype@SeriesHE]`, found `InterGetItemILocReduces[Bottom[Series[Any, Any]] | Bottom[Index[Any]] | TypeBlocks | ... omitted 7 union elements, TVDtype@SeriesHE]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[SeriesHE[Any, Any], TVDtype@SeriesHE]`, found `InterGetItemILocReduces[Bottom[Series[Any, Any]] | ndarray[Never, Never] | TypeBlocks | ... omitted 7 union elements, TVDtype@SeriesHE]`

static_frame/core/yarn.py

[error] invalid-return-type - :418:16 - Return type does not match returned value: expected `InterGetItemILocReduces[Yarn[Any], object_]`, found `InterGetItemILocReduces[Yarn[Any] | Bottom[Index[Any]] | TypeBlocks | ... omitted 6 union elements, object_]`

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

doc/conf.py

[error] no-matching-overload - :377:36 - No overload of function `dirname` matches arguments

xarray/core/utils.py

[error] invalid-argument-type - :1236:20 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`