Skip to content

[T203] False positives for non-debugging use #23645

@alynn-coefficient

Description

@alynn-coefficient

Summary

All uses of pprint are currently flagged as the documentation notes.

As a heuristic, it would be convenient for me at least if the rule were disapplied if a stream= were passed to the call. Needing to direct the output somewhere specific makes it much less likely this is debugging, and automatically suppressing the rule in that case would avoid false-positive noise.

Metadata

Metadata

Assignees

Labels

ruleImplementing or modifying a lint rule

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions