From 28209da486b94c7876c9228456e6fa48c06bc85c Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Thu, 22 Nov 2018 14:50:19 +0100 Subject: [PATCH] :art: add pylintrc --- .pylintrc | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .pylintrc diff --git a/.pylintrc b/.pylintrc new file mode 100644 index 0000000..178214d --- /dev/null +++ b/.pylintrc @@ -0,0 +1,32 @@ +[MASTER] +extension-pkg-whitelist=lxml,torch +ignored-modules=cv2,tesserocr,ocrd.model + +[TYPECHECL] + + +# List of members which are set dynamically and missed by pylint inference +# system, and so shouldn't trigger E1101 when accessed. Python regular +# expressions are accepted. +generated-members=numpy.*,torch.* + +[MESSAGES CONTROL] +ignore-patterns='.*generateds.*' +disable = + inconsistent-return-statements, + ungrouped-imports, + bad-continuation, + too-many-instance-attributes, + useless-import-alias, + broad-except, + too-many-locals, + missing-docstring, + no-self-use, + fixme, + too-many-arguments, + superfluous-parens, + invalid-name, + line-too-long, + too-many-branches, + too-few-public-methods, +