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

BUG unit test uses "object" as a variable name, triggering flake8 error #1358

Open
MiroDudik opened this issue Apr 4, 2024 · 0 comments
Open
Labels
easy Relatively simple issues, harder than "good first issue"

Comments

@MiroDudik
Copy link
Member

flake8 is showing the following error:

./test/unit/adversarial/test_adversarial_mitigation.py:108:26: A006 lambda argument "object" is shadowing a Python builtin

the culprit is this:

callbacks=lambda object, step: step > 5,

changing the signature should fix it.

@MiroDudik MiroDudik added the easy Relatively simple issues, harder than "good first issue" label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy Relatively simple issues, harder than "good first issue"
Projects
None yet
Development

No branches or pull requests

1 participant