Open
Description
Observed behavior
Mutable values in function signatures are bad form in python and should be avoided.
This potential code issue is picked up by most linters. Perhaps Ruff should be leveraged by this project to help catch these issues?
Expected behavior
async def connect(servers: Union[str, List[str]] = ""], **options) -> NATS:
nc = NATS()
await nc.connect(servers or "nats://localhost:4222", **options)
return nc
Server and client version
Line 21 in 9310e6f
Host environment
No response
Steps to reproduce
No response