We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In src/SeleniumLibrary/keywords/browsermanagement.py
@keyword def create_webdriver( self, driver_name: str, alias: Optional[str] = None, kwargs={}, **init_kwargs ) -> str:
the dictionary in kwargs should be replaced by None
None
https://florimond.dev/en/posts/2018/08/python-mutable-defaults-are-the-source-of-all-evil/
The text was updated successfully, but these errors were encountered:
René, do you catch this with a linker/black?
Sorry, something went wrong.
@emanlove yes linter do catch this.
i can highly recommend ruff as a linter. It is amazingly fast and replaces isort and works well with black.
ruff
you can start with the config that Browser lib has in its pyproject.toml.
Fixed in #1859
emanlove
No branches or pull requests
In src/SeleniumLibrary/keywords/browsermanagement.py
the dictionary in kwargs should be replaced by
None
https://florimond.dev/en/posts/2018/08/python-mutable-defaults-are-the-source-of-all-evil/
The text was updated successfully, but these errors were encountered: