pylintrc
author Jérémy Bobbio <jeremy.bobbio@irq7.fr>
Wed, 05 Jun 2019 16:29:04 +0200
branch3.26
changeset 12699 46f6db5167e7
parent 11219 0796b6191cea
permissions -rw-r--r--
[pkg] Switch to Debian source format 3.0 (quilt) This forces us to base the Debian package on the source of the Python package (as produced by running `python3 setup.py sdist`). While it might seem cumbersome, this greatly reduces likelyhood of mismatch between an installation via `pip` and one using the Debian package. `dpkg-source` will also document for us what is currently in the source repository but not in the Python package. Currently the missing file are: PKG-INFO cubicweb/sobjects/test/data/cubicweb_comment/schema.py cubicweb/sobjects/test/data/cubicweb_comment/__init__.py cubicweb/sobjects/test/data/cubicweb_comment/__pkginfo__.py cubicweb/sobjects/test/data/cubicweb_card/schema.py cubicweb/sobjects/test/data/cubicweb_card/entities.py cubicweb/sobjects/test/data/cubicweb_card/__init__.py cubicweb/sobjects/test/data/cubicweb_card/__pkginfo__.py cubicweb/server/test/data-migractions/cubicweb_comment/schema.py cubicweb/server/test/data-migractions/cubicweb_comment/__init__.py cubicweb/server/test/data-migractions/cubicweb_comment/__pkginfo__.py cubicweb/server/test/data-migractions/cubicweb_localperms/schema.py cubicweb/server/test/data-migractions/cubicweb_localperms/__init__.py cubicweb/server/test/data-migractions/cubicweb_localperms/__pkginfo__.py cubicweb/server/test/data-migractions/cubicweb_basket/schema.py cubicweb/server/test/data-migractions/cubicweb_basket/__init__.py cubicweb/server/test/data-migractions/cubicweb_basket/__pkginfo__.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_comment/schema.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_comment/__init__.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_comment/__pkginfo__.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_localperms/schema.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_localperms/__init__.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_localperms/__pkginfo__.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_basket/schema.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_basket/__init__.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_basket/__pkginfo__.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_tag/schema.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_tag/__init__.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_tag/__pkginfo__.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_card/schema.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_card/__init__.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_card/__pkginfo__.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_file/schema.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_file/__init__.py cubicweb/server/test/data-migractions/migratedapp/cubicweb_file/__pkginfo__.py cubicweb/server/test/data-migractions/cubicweb_tag/schema.py cubicweb/server/test/data-migractions/cubicweb_tag/__init__.py cubicweb/server/test/data-migractions/cubicweb_tag/__pkginfo__.py cubicweb/server/test/data-migractions/cubicweb_card/schema.py cubicweb/server/test/data-migractions/cubicweb_card/__init__.py cubicweb/server/test/data-migractions/cubicweb_card/__pkginfo__.py cubicweb/server/test/data-migractions/cubicweb_file/schema.py cubicweb/server/test/data-migractions/cubicweb_file/__init__.py cubicweb/server/test/data-migractions/cubicweb_file/__pkginfo__.py cubicweb/test/data-rewrite/cubicweb_localperms/schema.py cubicweb/test/data-rewrite/cubicweb_localperms/__init__.py cubicweb/test/data-rewrite/cubicweb_localperms/__pkginfo__.py cubicweb/test/data-rewrite/cubicweb_card/schema.py cubicweb/test/data-rewrite/cubicweb_card/entities.py cubicweb/test/data-rewrite/cubicweb_card/__init__.py cubicweb/test/data-rewrite/cubicweb_card/__pkginfo__.py The current manifest will duplicate several files that are stored as symlinks in the Mercurial repository, hence the long list of ignored files in `extend-diff-ignore`.
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
11219
0796b6191cea [pylint] more work on the pylint support
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 11216
diff changeset
     3
ignore=__pkginfo__
11216
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
     4
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     5
[MESSAGES CONTROL]
11216
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
     6
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
     7
      too-few-public-methods,too-many-arguments,import-error
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     8
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     9
[BASIC]
11219
0796b6191cea [pylint] more work on the pylint support
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 11216
diff changeset
    10
function-rgx = [a-z_][a-z0-9_]{2,35}$
11216
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    11
good-names=w,_
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    12
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    13
[TYPECHECK]
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    14
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
    15
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    16
[CLASSES]
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    17
exclude-protected=_cw,_cnx,
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    18
      # namedtuple public API.
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    19
      _asdict,_fields,_replace,_source,_make
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    20
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    21
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    22
[FORMAT]
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    23
max-line-length=100
efecb78bf929 update and enhance pylintrc
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 0
diff changeset
    24
max-module-lines=2000