From fb0cd358558bd09e489fed617d4c68766a9ab4e5 Mon Sep 17 00:00:00 2001 From: Joe George Date: Fri, 19 Jan 2024 11:46:57 -0500 Subject: [PATCH] Add pylint configuration --- .vscode/settings.json | 8 ++++++++ tox.ini | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000000..bd9b1542dd9 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "python.analysis.extraPaths": [ + "./scripts" + ], + "pylint.args": [ + "--rcfile=tox.ini" + ] +} diff --git a/tox.ini b/tox.ini index 72c9daf2d15..56d166911ae 100644 --- a/tox.ini +++ b/tox.ini @@ -7,3 +7,9 @@ max-line-length = 120 # E402 module level import not at top of file ignore = E402 max-line-length = 120 + +[pylint] +max-line-length = 120 +disable= + missing-docstring, + wrong-import-position