about summary refs log tree commit diff stats
path: root/.pylintrc
diff options
context:
space:
mode:
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.pylintrc b/.pylintrc
index b42432ca..3fdcbaa8 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -1,3 +1,7 @@
+[MASTER]
+init-hook='import sys; sys.path.append("tests/pylint")'
+load-plugins=py2_compat
+
 [BASIC]
 good-names=i,j,k,n,x,y,ex,Run,_,fm,ui,fg,bg
 bad-names=foo,baz,toto,tutu,tata
@@ -8,6 +12,7 @@ max-branches=16
 
 [FORMAT]
 max-line-length = 99
+enable=no-absolute-import,old-division
 disable=cyclic-import,duplicate-code,fixme,import-outside-toplevel,locally-disabled,locally-enabled,missing-docstring,no-else-break,no-else-continue,no-else-raise,no-else-return,redefined-variable-type,stop-iteration-return,useless-object-inheritance
 
 [TYPECHECK]