From 3fb1ba3b8de7162520d120afe32993fd0b669904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Traizet?= Date: Mon, 9 Dec 2024 12:19:42 +0100 Subject: [PATCH] lint: fix linter errors with python 3.10 --- .pylintrc | 2 +- cars/pipelines/default/default_pipeline.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pylintrc b/.pylintrc index 13df7167..355bcbce 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,6 +1,6 @@ [MASTER] # Analyze C extensions capabilities packages. -extension-pkg-allow-list=rasterio,rasterize,resample +extension-pkg-allow-list=rasterio,rasterize,resample,outlier_filter # Extend Recursion limit for RecursionError in big files init-hook='import sys; sys.setrecursionlimit(8 * sys.getrecursionlimit())' diff --git a/cars/pipelines/default/default_pipeline.py b/cars/pipelines/default/default_pipeline.py index d5434268..01258e6a 100644 --- a/cars/pipelines/default/default_pipeline.py +++ b/cars/pipelines/default/default_pipeline.py @@ -18,11 +18,11 @@ # See the License for the specific language governing permissions and # limitations under the License. # - +# pylint: disable=too-many-lines # attribute-defined-outside-init is disabled so that we can create and use # attributes however we need, to stick to the "everything is attribute" logic # introduced in issue#895 -# pylint: disable=too-many-lines,attribute-defined-outside-init +# pylint: disable=attribute-defined-outside-init """ CARS default pipeline class file """