diff --git a/common/lib/xmodule/xmodule/modulestore/loc_mapper_store.py b/common/lib/xmodule/xmodule/modulestore/loc_mapper_store.py index 966c8c0ae6..1625f12528 100644 --- a/common/lib/xmodule/xmodule/modulestore/loc_mapper_store.py +++ b/common/lib/xmodule/xmodule/modulestore/loc_mapper_store.py @@ -27,8 +27,6 @@ class LocMapperStore(object): or dominant store, but that's not a requirement. This store creates its own connection. ''' - # C0103: varnames and attrs must be >= 3 chars, but db defined by long time usage - # pylint: disable = C0103 def __init__( self, host, db, collection, port=27017, user=None, password=None, **kwargs diff --git a/pylintrc b/pylintrc index a3c84c1555..5a3a1ad01c 100644 --- a/pylintrc +++ b/pylintrc @@ -166,7 +166,7 @@ variable-rgx=[a-z_][a-z0-9_]{2,30}$ inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$ # Good variable names which should always be accepted, separated by a comma -good-names=f,i,j,k,ex,Run,_,__ +good-names=f,i,j,k,db,ex,Run,_,__ # Bad variable names which should always be refused, separated by a comma bad-names=foo,bar,baz,toto,tutu,tata