Permalink
Browse files

Allow variables named q and uid when linting

  • Loading branch information...
lovett committed Dec 30, 2018
1 parent dd41fde commit 02c608f7a7f3aea62e45dceb1cb8119c3499aaf7
Showing with 1 addition and 2 deletions.
  1. +1 −1 .pylintrc
  2. +0 −1 apps/registry/main.py
@@ -136,7 +136,7 @@ function-name-hint=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
function-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$

# Good variable names which should always be accepted, separated by a comma
good-names=i,j,k,ex,Run,_
good-names=q,uid,i,j,k,ex,Run,_

# Include a hint for the correct naming format with invalid-name
include-naming-hint=no
@@ -8,7 +8,6 @@ class Controller:

name = "Registry"

# pylint: disable=invalid-name
@cherrypy.tools.negotiable()
def GET(self, q=None, uid=None, key=None, view="search"):
"""Display a UI to search for entries and add new ones."""

0 comments on commit 02c608f

Please sign in to comment.