Repository navigation
[ty] Rename call-top-callable to call-to-top-callable - #30285
Draft
AlexWaygood wants to merge 1 commit into
Draft
AlexWaygood wants to merge 1 commit into
AlexWaygood wants to merge 1 commit into
Conversation
Contributor
Typing conformance resultsNo changes detected ✅Current numbersThe percentage of diagnostics emitted that were expected errors held steady at 98.60%. The percentage of expected errors that received a diagnostic held steady at 98.86%. The number of fully passing files held steady at 137/146. Results for 5abff58 · Workflow run |
Contributor
Memory usage reportMemory usage unchanged ✅ Results for 5abff58 · Workflow run |
Contributor
|
| Lint rule | Added | Removed | Changed |
|---|---|---|---|
call-to-top-callable |
98 | 0 | 0 |
call-top-callable |
0 | 98 | 0 |
| Total | 98 | 98 | 0 |
Flaky changes detected. This PR summary excludes flaky changes; see the HTML report for details.
Raw diff (196 changes)
core (https://github.com/home-assistant/core)
- homeassistant/components/mqtt/config_flow.py:3841:16 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ homeassistant/components/mqtt/config_flow.py:3841:16 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- homeassistant/components/reolink/select.py:523:34 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ homeassistant/components/reolink/select.py:523:34 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- homeassistant/components/tomorrowio/sensor.py:350:22 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- homeassistant/components/tomorrowio/sensor.py:350:22 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ homeassistant/components/tomorrowio/sensor.py:350:22 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ homeassistant/components/tomorrowio/sensor.py:350:22 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- homeassistant/helpers/schema_config_entry_flow.py:233:46 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ homeassistant/helpers/schema_config_entry_flow.py:233:46 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- homeassistant/helpers/service.py:735:32 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ homeassistant/helpers/service.py:735:32 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
discord.py (https://github.com/Rapptz/discord.py)
- discord/ext/commands/flags.py:529:33 error[call-top-callable] Object of type `Top[(...) -> Unknown]` is not safe to call; its signature is not known
+ discord/ext/commands/flags.py:529:33 error[call-to-top-callable] Object of type `Top[(...) -> Unknown]` is not safe to call; its signature is not known
- discord/ext/commands/flags.py:659:41 error[call-top-callable] Object of type `Top[(...) -> Unknown]` is not safe to call; its signature is not known
+ discord/ext/commands/flags.py:659:41 error[call-to-top-callable] Object of type `Top[(...) -> Unknown]` is not safe to call; its signature is not known
- discord/ext/commands/parameters.py:211:26 error[call-top-callable] Object of type `Top[(...) -> Unknown]` is not safe to call; its signature is not known
+ discord/ext/commands/parameters.py:211:26 error[call-to-top-callable] Object of type `Top[(...) -> Unknown]` is not safe to call; its signature is not known
dulwich (https://github.com/dulwich/dulwich)
- dulwich/pack.py:3618:9 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ dulwich/pack.py:3618:9 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- dulwich/pack.py:4109:13 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ dulwich/pack.py:4109:13 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- dulwich/repo.py:3103:23 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ dulwich/repo.py:3103:23 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- dulwich/worktree.py:681:23 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- dulwich/worktree.py:681:23 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ dulwich/worktree.py:681:23 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ dulwich/worktree.py:681:23 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
graphql-core (https://github.com/graphql-python/graphql-core)
- src/graphql/type/definition.py:461:12 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ src/graphql/type/definition.py:461:12 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
ignite (https://github.com/pytorch/ignite)
- ignite/handlers/base_logger.py:45:83 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ ignite/handlers/base_logger.py:45:83 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
kopf (https://github.com/nolar/kopf)
- kopf/_core/engines/daemons.py:522:17 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- kopf/_core/engines/daemons.py:522:17 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ kopf/_core/engines/daemons.py:522:17 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ kopf/_core/engines/daemons.py:522:17 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- kopf/_core/engines/daemons.py:592:17 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- kopf/_core/engines/daemons.py:592:17 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ kopf/_core/engines/daemons.py:592:17 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ kopf/_core/engines/daemons.py:592:17 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- kopf/_core/intents/registries.py:484:16 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ kopf/_core/intents/registries.py:484:16 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
kornia (https://github.com/kornia/kornia)
- kornia/core/check.py:137:20 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ kornia/core/check.py:137:20 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
meson (https://github.com/mesonbuild/meson)
- mesonbuild/compilers/compilers.py:1644:26 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- mesonbuild/compilers/compilers.py:1644:26 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ mesonbuild/compilers/compilers.py:1644:26 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ mesonbuild/compilers/compilers.py:1644:26 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- mesonbuild/compilers/d.py:499:30 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ mesonbuild/compilers/d.py:499:30 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- mesonbuild/compilers/mixins/clike.py:384:40 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ mesonbuild/compilers/mixins/clike.py:384:40 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- mesonbuild/compilers/rust.py:279:26 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ mesonbuild/compilers/rust.py:279:26 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- mesonbuild/compilers/vala.py:186:26 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- mesonbuild/compilers/vala.py:186:26 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ mesonbuild/compilers/vala.py:186:26 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ mesonbuild/compilers/vala.py:186:26 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
mypy_primer (https://github.com/hauntsaninja/mypy_primer)
- mypy_primer/git_utils.py:65:23 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ mypy_primer/git_utils.py:65:23 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
pandas (https://github.com/pandas-dev/pandas)
- pandas/core/apply.py:1247:25 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1247:25 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1247:25 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1247:25 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1247:25 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1247:25 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1251:25 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1251:25 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1251:25 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1251:25 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1251:25 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1251:25 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1263:21 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1263:21 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1263:21 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1263:21 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1263:21 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1263:21 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1328:19 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1328:19 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1328:19 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1328:19 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1328:19 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1328:19 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1365:26 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1365:26 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1365:26 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1365:26 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1365:26 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1365:26 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1773:22 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1773:22 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/core/apply.py:1773:22 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1773:22 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1773:22 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/core/apply.py:1773:22 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/io/formats/style.py:4608:20 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/io/formats/style.py:4608:20 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/io/formats/style.py:4608:20 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/io/formats/style.py:4608:20 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/io/formats/style.py:4608:20 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/io/formats/style.py:4608:20 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/io/parsers/base_parser.py:1113:54 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/io/parsers/base_parser.py:1113:54 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandas/util/_decorators.py:196:41 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandas/util/_decorators.py:196:41 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
pandera (https://github.com/pandera-dev/pandera)
- pandera/engines/numpy_engine.py:100:20 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandera/engines/numpy_engine.py:100:20 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandera/engines/numpy_engine.py:100:20 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandera/engines/numpy_engine.py:100:20 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandera/engines/numpy_engine.py:100:20 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- pandera/engines/numpy_engine.py:100:20 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandera/engines/numpy_engine.py:100:20 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandera/engines/numpy_engine.py:100:20 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandera/engines/numpy_engine.py:100:20 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandera/engines/numpy_engine.py:100:20 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandera/engines/numpy_engine.py:100:20 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ pandera/engines/numpy_engine.py:100:20 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
prefect (https://github.com/PrefectHQ/prefect)
- src/integrations/prefect-dask/prefect_dask/task_runners.py:354:25 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- src/integrations/prefect-dask/prefect_dask/task_runners.py:354:25 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ src/integrations/prefect-dask/prefect_dask/task_runners.py:354:25 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ src/integrations/prefect-dask/prefect_dask/task_runners.py:354:25 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- src/prefect/_internal/engine.py:44:25 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ src/prefect/_internal/engine.py:44:25 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- src/prefect/_internal/engine.py:70:29 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ src/prefect/_internal/engine.py:70:29 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- src/prefect/_internal/engine.py:73:29 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ src/prefect/_internal/engine.py:73:29 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- src/prefect/tasks.py:584:40 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- src/prefect/tasks.py:584:40 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- src/prefect/tasks.py:584:40 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ src/prefect/tasks.py:584:40 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ src/prefect/tasks.py:584:40 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ src/prefect/tasks.py:584:40 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
rotki (https://github.com/rotki/rotki)
- rotkehlchen/tests/unit/test_lido_csm_metrics.py:26:20 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ rotkehlchen/tests/unit/test_lido_csm_metrics.py:26:20 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
scikit-learn (https://github.com/scikit-learn/scikit-learn)
- sklearn/gaussian_process/_gpc.py:507:35 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ sklearn/gaussian_process/_gpc.py:507:35 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- sklearn/gaussian_process/_gpr.py:679:35 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ sklearn/gaussian_process/_gpr.py:679:35 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- sklearn/linear_model/_ransac.py:495:32 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ sklearn/linear_model/_ransac.py:495:32 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- sklearn/semi_supervised/_label_propagation.py:164:24 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ sklearn/semi_supervised/_label_propagation.py:164:24 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- sklearn/semi_supervised/_label_propagation.py:166:24 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ sklearn/semi_supervised/_label_propagation.py:166:24 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
scrapy (https://github.com/scrapy/scrapy)
- scrapy/downloadermiddlewares/retry.py:114:22 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- scrapy/downloadermiddlewares/retry.py:114:22 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ scrapy/downloadermiddlewares/retry.py:114:22 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ scrapy/downloadermiddlewares/retry.py:114:22 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
setuptools (https://github.com/pypa/setuptools)
- setuptools/config/_apply_pyprojecttoml.py:82:13 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ setuptools/config/_apply_pyprojecttoml.py:82:13 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- setuptools/config/_apply_pyprojecttoml.py:122:13 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ setuptools/config/_apply_pyprojecttoml.py:122:13 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- setuptools/config/expand.py:329:14 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ setuptools/config/expand.py:329:14 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
spark (https://github.com/apache/spark)
- python/pyspark/eval_handlers/verification.py:77:26 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ python/pyspark/eval_handlers/verification.py:77:26 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- python/pyspark/pandas/categorical.py:542:27 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- python/pyspark/pandas/categorical.py:542:27 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ python/pyspark/pandas/categorical.py:542:27 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ python/pyspark/pandas/categorical.py:542:27 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- python/pyspark/pandas/namespace.py:410:75 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- python/pyspark/pandas/namespace.py:410:75 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ python/pyspark/pandas/namespace.py:410:75 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ python/pyspark/pandas/namespace.py:410:75 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- python/pyspark/sql/streaming/readwriter.py:1509:21 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ python/pyspark/sql/streaming/readwriter.py:1509:21 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
tornado (https://github.com/tornadoweb/tornado)
- tornado/escape.py:410:28 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ tornado/escape.py:410:28 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- tornado/gen.py:682:23 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ tornado/gen.py:682:23 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
vision (https://github.com/pytorch/vision)
- test/datasets_utils.py:842:57 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- test/datasets_utils.py:842:57 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ test/datasets_utils.py:842:57 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ test/datasets_utils.py:842:57 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- test/datasets_utils.py:966:57 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- test/datasets_utils.py:966:57 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ test/datasets_utils.py:966:57 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ test/datasets_utils.py:966:57 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- torchvision/models/_utils.py:200:43 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ torchvision/models/_utils.py:200:43 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
xarray (https://github.com/pydata/xarray)
- xarray/core/common.py:506:20 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ xarray/core/common.py:506:20 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- xarray/core/dataarray.py:3484:21 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ xarray/core/dataarray.py:3484:21 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- xarray/core/dataarray.py:5569:25 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ xarray/core/dataarray.py:5569:25 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- xarray/core/dataset.py:6178:21 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ xarray/core/dataset.py:6178:21 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- xarray/core/dataset.py:8559:25 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ xarray/core/dataset.py:8559:25 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
- xarray/core/datatree_render.py:282:21 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ xarray/core/datatree_render.py:282:21 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
zulip (https://github.com/zulip/zulip)
- zerver/tests/test_slack_importer.py:3660:13 error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
+ zerver/tests/test_slack_importer.py:3660:13 error[call-to-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not knownFull report with detailed diff · Timing results
Results for 5abff58 · Workflow run
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ty flags calls to values of type
Top[Callable[..., T]]because their parameter types and arity are unknown. Adding “to” makes the rule name read naturally as “ignore a call to a top callable,” which better conforms to Ruff’s rule naming convention.call-top-callableremains a compatibility alias. ty honors the old name in configuration and ignore comments, and emits a rename warning in either case.