Skip to content
New issue

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

Clean up use of mutable defaults under lib/ramble/ramble #835

Merged

Conversation

linsword13
Copy link
Collaborator

Danger of mutable defaults:
https://pylint.pycqa.org/en/latest/user_guide/messages/warning/dangerous-default-value.html.

The cleanup list comes from:

pylint --disable=all --enable=W0102 lib/ramble/ramble/*

There's also a flake8 plugin (bug-bear) that provides this check (along with other more opinionated checks.) Can be a follow-up to see if we should incorporate this into the CI checks.

Danger of mutable defaults:
https://pylint.pycqa.org/en/latest/user_guide/messages/warning/dangerous-default-value.html.

The cleanup list comes from:

```
pylint --disable=all --enable=W0102 lib/ramble/ramble/*
```

There's also a flake8 plugin (bug-bear) that provides this check (along with other more
opinionated checks.) Can be a follow-up to see if we should incorporate
this into the CI checks.
@douglasjacobsen douglasjacobsen merged commit f02c5d8 into GoogleCloudPlatform:develop Jan 21, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants