From 613c62b46a57c2295381e6f07b1e85e73c15646b Mon Sep 17 00:00:00 2001 From: alpharush <0xalpharush@protonmail.com> Date: Thu, 28 Mar 2024 22:46:31 -0500 Subject: [PATCH] add pylint disable to buggy_versions.py --- scripts/update_buggy_versions.py | 1 + slither/utils/buggy_versions.py | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/update_buggy_versions.py b/scripts/update_buggy_versions.py index 677228b17..37e8f990f 100644 --- a/scripts/update_buggy_versions.py +++ b/scripts/update_buggy_versions.py @@ -24,4 +24,5 @@ if __name__ == "__main__": bugs_by_version = organize_data(bug_data) with open(Path.cwd() / Path("slither/utils/buggy_versions.py"), "w", encoding="utf-8") as file: + file.write("# pylint: disable=too-many-lines\n") file.write(f"bugs_by_version = {bugs_by_version}") diff --git a/slither/utils/buggy_versions.py b/slither/utils/buggy_versions.py index 21a3f5a52..ad9605b89 100644 --- a/slither/utils/buggy_versions.py +++ b/slither/utils/buggy_versions.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines bugs_by_version = { "0.1.0": [ "DirtyBytesArrayToStorage",