aboutsummaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorAndrzej Kurek <andrzej.kurek@arm.com>2022-10-19 09:13:11 -0400
committerAndrzej Kurek <andrzej.kurek@arm.com>2022-10-19 09:13:11 -0400
commitf4b8a4f9719a7009bd137da3de9f0b08863585d4 (patch)
treef003f7652e84c342bbec998d99d0cd35d813db5b /.pylintrc
parentb8a97e7520280112eef0083aa9ef19dbd67ee23a (diff)
downloadmbedtls-f4b8a4f9719a7009bd137da3de9f0b08863585d4.zip
mbedtls-f4b8a4f9719a7009bd137da3de9f0b08863585d4.tar.gz
mbedtls-f4b8a4f9719a7009bd137da3de9f0b08863585d4.tar.bz2
pylint: ignore duplicated imports
It is not uncommon to have the same imports across different python files. Ignore it when running pylint. Starting at pylint 2.14.5 this is the default value. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.pylintrc b/.pylintrc
index d217ff6..10c93f8 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -73,3 +73,7 @@ reports=no
# Allow unused variables if their name starts with an underscore.
# [unused-argument]
dummy-variables-rgx=_.*
+
+[SIMILARITIES]
+# Ignore imports when computing similarities.
+ignore-imports=yes