Closed vdusek closed 7 months ago
Rename identifiers flagged with # noqa: A003 for built-in attribute shadowing.
# noqa: A003
In the case of methods named list, it even breaks mypy in some places. If you use the list type hint in the same module, e.g. here - https://github.com/apify/apify-client-python/blob/master/src/apify_client/clients/resource_clients/actor_collection.py#L50.
list
mypy
Rename identifiers flagged with
# noqa: A003
for built-in attribute shadowing.In the case of methods named
list
, it even breaksmypy
in some places. If you use thelist
type hint in the same module, e.g. here - https://github.com/apify/apify-client-python/blob/master/src/apify_client/clients/resource_clients/actor_collection.py#L50.