Add fail-under to pylint

This commit is contained in:
Jan-Pieter Baert 2022-04-19 21:08:08 +02:00
parent 33d2fe3b52
commit 1cdd22c1c0
No known key found for this signature in database
GPG key ID: C61C42632C5952F3

View file

@ -5,6 +5,8 @@
# run arbitrary code. # run arbitrary code.
extension-pkg-whitelist= extension-pkg-whitelist=
fail-under=9
# Add files or directories to the blacklist. They should be base names, not # Add files or directories to the blacklist. They should be base names, not
# paths. # paths.
ignore=CVS ignore=CVS
@ -28,7 +30,7 @@ limit-inference-results=100
# List of plugins (as comma separated values of python modules names) to load, # List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers. # usually to register additional checkers.
load-plugins= load-plugins=pylint_flask_sqlalchemy,pylint_flask
# Pickle collected data for later comparisons. # Pickle collected data for later comparisons.
persistent=yes persistent=yes
@ -60,7 +62,7 @@ confidence=
# --enable=similarities". If you want to run only the classes checker, but have # --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes # no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W". # --disable=W".
disable=E0401,E0611,C0103,W0511,W0611 disable=E0401,E0611,C0103,W0511,W0611,C0415
# Enable the message, report, category or checker with the given id(s). You can # Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option # either give multiple identifier separated by comma (,) or put this option