From d4f603b600ab6628bc4d2150b6c39c4761fe5539 Mon Sep 17 00:00:00 2001
From: Jose Borreguero <borreguero@gmail.com>
Date: Mon, 22 Mar 2021 14:13:21 -0400
Subject: [PATCH] disable flake8 warning

---
 .../algorithms/WorkflowAlgorithms/SANSILLAutoProcess.py        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANSILLAutoProcess.py b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANSILLAutoProcess.py
index aa53467e4a1..b7ea272fd68 100644
--- a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANSILLAutoProcess.py
+++ b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/SANSILLAutoProcess.py
@@ -357,7 +357,8 @@ class SANSILLAutoProcess(DataProcessorAlgorithm):
         self.declareProperty('SensitivityWithOffsets', False,
                              'Whether the sensitivity data has been measured with different horizontal offsets.')
 
-    def PyExec(self):
+        # flake8: noqa: C901
+        def PyExec(self):
 
         self.setUp()
         outputs = []
-- 
GitLab