diff --git a/.pylintrc b/.pylintrc
index 3ea72c68f3583556f21e551874fa0623e1f1dde3..1505993209115bc86b12182a5e0814d3d2fcd6e4 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -11,7 +11,7 @@ ignore=CVS
 
 # Add files or directories matching the regex patterns to the blacklist. The
 # regex matches against base names, not paths.
-ignore-patterns=
+ignore-patterns=ldapalchemy
 
 # Python code to execute, usually for sys.path manipulation such as
 # pygtk.require().
@@ -66,7 +66,6 @@ disable=missing-module-docstring,
         too-few-public-methods,
         method-hidden,
         too-many-ancestors,
-        duplicate-code,
 
 # Enable the message, report, category or checker with the given id(s). You can
 # either give multiple identifier separated by comma (,) or put this option
@@ -124,7 +123,7 @@ ignore-docstrings=yes
 ignore-imports=no
 
 # Minimum lines number of a similarity.
-min-similarity-lines=10
+min-similarity-lines=6
 
 
 [TYPECHECK]