Skip to content

Replace Print Function with Standard Output Write in CLI Program #323

@threeal

Description

@threeal

This issue suggests replacing calls to the print function in the __main__.py file with sys.stdout.write. This is mainly proposed to fix the T201 linter rule, which is currently being suppressed. Additionally, in CLI programs, writing directly to standard output is preferred over using the print function, which is commonly used for debugging.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions