pylintrc
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 19 Jan 2016 13:24:44 +0100
changeset 11216 efecb78bf929
parent 0 b97547f5f1fa
child 11219 0796b6191cea
permissions -rw-r--r--
update and enhance pylintrc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11216
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
     1
[MASTER]
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
     2
load-plugins=cubicweb.pylintext
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
     3
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     4
[MESSAGES CONTROL]
11216
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
     5
disable = too-many-ancestors,too-many-instance-attributes,too-many-public-methods,
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
     6
      too-few-public-methods,too-many-arguments,import-error
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     7
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     8
[VARIABLES]
11216
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
     9
additional-builtins=_,display_name
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    10
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    11
[BASIC]
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    12
attr-rgx = (w|[a-z_][a-z0-9_]{2,30})
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    13
variable-rgx = (w|[a-z_][a-z0-9_]{2,30})$
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    14
argument-rgx = (w|[a-z_][a-z0-9_]{2,30})$
11216
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    15
good-names=w,_
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    16
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    17
[TYPECHECK]
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    18
generated-members=debug,info,notice,warning,error,critical,exception
11216
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    19
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    20
[CLASSES]
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    21
exclude-protected=_cw,_cnx,
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    22
      # namedtuple public API.
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    23
      _asdict,_fields,_replace,_source,_make
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    24
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    25
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    26
[FORMAT]
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    27
max-line-length=100
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    28
max-module-lines=2000