add duplicate-code to ignored pylint warnings