pylint #106534 add --ignore-imports to code duplication (R0801) / symilar [validation pending]
The same imports often appear at the top of source files, especially with frameworks. This enhancement (patch forthcoming) excludes imports in a manner similar to the way comments and docstrings are optionally excluded. Unlike docstrings and comments the default was set to False so as to not modify default behavior.
This addressed an old request found in #6905 though via a different mechanism than the original requester suggested.
|appeared in||<not specified>|
|closed by||#19502af3b7c9 Add --ignore-imports option to similarity checking. Closes #106534.|