Sample README.md for example scripts #4
precommit.yml
on: pull_request
Pre-commit checks
1m 13s
Annotations
10 errors and 1 warning
Pre-commit checks:
application_examples/flight_price_tracker/flight_price_tracker.py#L21
Cannot access attribute "enable_stealth_mode" for class "WebDriver[Locator, Page, BrowserContext]"
Attribute "enable_stealth_mode" is unknown (reportAttributeAccessIssue)
|
Pre-commit checks:
application_examples/xpath/xpath.py#L22
Argument of type "AQLResponseProxy[Locator] | Locator" cannot be assigned to parameter "element" of type "Locator" in function "xpath_path"
Type "AQLResponseProxy[Locator] | Locator" is incompatible with type "Locator"
"AQLResponseProxy[Locator]" is incompatible with "Locator" (reportArgumentType)
|
Pre-commit checks:
examples/async_example/async_example.py#L32
Object of type "None" is not subscriptable (reportOptionalSubscript)
|
Pre-commit checks:
examples/debug_support_methods/last_query.py#L60
"get" is not a known attribute of "None" (reportOptionalMemberAccess)
|
Pre-commit checks:
examples/debug_support_methods/last_query.py#L61
"replace" is not a known attribute of "None" (reportOptionalMemberAccess)
|
Pre-commit checks:
examples/default_popup_handler/default_popup_handler.py#L22
Argument of type "(popups: list[Unknown]) -> None" cannot be assigned to parameter "callback" of type "(dict[Unknown, Unknown]) -> None" in function "on"
Type "(popups: list[Unknown]) -> None" is incompatible with type "(dict[Unknown, Unknown]) -> None"
Parameter 1: type "dict[Unknown, Unknown]" is incompatible with type "list[Unknown]"
"dict[Unknown, Unknown]" is incompatible with "list[Unknown]" (reportArgumentType)
|
Pre-commit checks:
examples/ecommerce_pricing_data/pricing_data.py#L37
Expression of type "str | list[Unknown]" is incompatible with return type "list[Unknown]"
Type "str | list[Unknown]" is incompatible with type "list[Unknown]"
"str" is incompatible with "list[Unknown]" (reportReturnType)
|
Pre-commit checks:
examples/ecommerce_pricing_data/pricing_data.py#L57
"type" is not a known attribute of "None" (reportOptionalMemberAccess)
|
Pre-commit checks:
examples/ecommerce_pricing_data/pricing_data.py#L58
"press" is not a known attribute of "None" (reportOptionalMemberAccess)
|
Pre-commit checks:
examples/ecommerce_pricing_data/pricing_data.py#L62
"fill" is not a known attribute of "None" (reportOptionalMemberAccess)
|
Pre-commit checks
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|