-
-
Notifications
You must be signed in to change notification settings - Fork 46k
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
Remove print statements within functions #7337
Comments
I think this will be difficult to explain to new contributors. |
I've run |
Yes, they can remain as they are. CONTRIBUTING.md says that algorithmic functions should not input(), print(), plot, or read/write to files. However, there might be |
Instead, I propose to make the following refactor: For all the classes that provide some method to print out a representation of that object, use |
Hello sir, can u assign me this issue. I would love to grab this opportunity. |
Please stop waiting. We do not assign issues in this repo. Instead, we review pull requests so if you see something that is worth fixing then please create a pull request to fix it. #7499 (merged) seems to have solved most of these problems. |
Feature description
Use
flake8-print
plugin to check for print statements and remove them if found within variable scopesThe text was updated successfully, but these errors were encountered: