From 4b067902d89075e93f8b695233d80e89ef3c1aa9 Mon Sep 17 00:00:00 2001 From: Jiashuo Li <4003950+jiasli@users.noreply.github.com> Date: Thu, 13 May 2021 14:04:25 +0800 Subject: [PATCH] {Pylint} Ignore `tests` folders (#18003) --- .flake8 | 1 + pylintrc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index d61f6cef6..b838e9f46 100644 --- a/.flake8 +++ b/.flake8 @@ -20,3 +20,4 @@ exclude = build_scripts */grammar/ vendored_sdks + tests diff --git a/pylintrc b/pylintrc index bec3c1dd9..5342403f4 100644 --- a/pylintrc +++ b/pylintrc @@ -1,5 +1,6 @@ [MASTER] -ignore-patterns=test_*,azure_devops_build_* +ignore=tests,generated,vendored_sdks,privates +ignore-patterns=test.*,azure_devops_build.* reports=no [MESSAGES CONTROL]