From 197191e58c126efa7a05cd4a5ca03e8863fa3747 Mon Sep 17 00:00:00 2001 From: Justin Chu Date: Mon, 14 Nov 2022 10:00:25 -0800 Subject: [PATCH] Update pylint config to include valid short names (#13631) ### Description Update pylint config to include valid short names Also disabled `too-many-arguments` and `too-many-locals` ### Motivation and Context Refine config to reduce lint noise --- pyproject.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 1a32e3443b..6bec8bf943 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,12 @@ extend_skip_glob = [ [tool.pydocstyle] convention = "google" +[tool.pylint.BASIC] +good-names = [ + "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", + "p", "q", "r", "s", "t", "u", "v", "w", "ex", "Run", "_", "x", "y", "z" +] + [tool.pylint.messages_control] disable = [ "format", @@ -23,6 +29,8 @@ disable = [ "import-error", "no-name-in-module", "no-member", + "too-many-arguments", + "too-many-locals", "too-few-public-methods", "missing-docstring", "fixme",