From 0fbf045671da21b7f2436c8167af484e84687df1 Mon Sep 17 00:00:00 2001 From: agriffit Date: Tue, 17 Oct 2023 11:41:10 +1100 Subject: [PATCH] chore: add pylint recusive error handling for astroid errors --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index bad0309f6..63a58895b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,3 +90,9 @@ addopts = [ '--cov-report=term-missing', '--junitxml=report.xml' ] +[tool.pylint.master] +# https://github.com/PyCQA/pylint/issues/4081#issuecomment-778242554 +init-hook = 'import sys; sys.setrecursionlimit(3 * sys.getrecursionlimit())' + +[tool.pylint.FORMAT] +max_line_length=120