Closed pylint-bot closed 8 years ago
Original comment by Florian Bruhin (BitBucket: The-Compiler, GitHub: @The-Compiler?):
This has nothing to do with astroid and is a duplicate of #214 in pylint to which Claudiu and I already linked you to via IRC and mailinglist...
Originally reported by: Rohit Bhattacharjee (BitBucket: rohitativy, GitHub: @rohitativy?)
Hi,
I have same code in two files in a project, and this is by design, since these are test cases. On running pylint on my project I am being thrown a
duplicate-code
warning by pylint even though I have disabled the pylint check for duplicate-code in both of my files locally# pylint: disable=duplicate-code
. I can suppress this warning globally by runningpylint <foldername> --disable=duplicate-code
which I don't want because I really don't want duplicate-code to exist in the project; they can only exist if the user has any specific requirements.regards Rohit