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
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?
async def connect(servers: Union[str, List[str]] = ""], **options) -> NATS: nc = NATS() await nc.connect(servers or "nats://localhost:4222", **options) return nc
nats.py/nats/__init__.py
Line 21 in 9310e6f
No response
The text was updated successfully, but these errors were encountered:
Started moving over to GitHub Actions so we can turn on linting and formatting inline here #568
Sorry, something went wrong.
caspervonb
No branches or pull requests
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
Server and client version
nats.py/nats/__init__.py
Line 21 in 9310e6f
Host environment
No response
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: