From 42c4df720f85d212380ba2d4c57b6dbb3f5fbe76 Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 19 Mar 2024 02:53:41 +0000 Subject: [PATCH] [SymForce] Handle pylint useless-suppression Reviewers: william-a,brad,nathan,ryan-b Topic: sf-useless-suppression GitOrigin-RevId: 03d21936f60764723d0dbc264bff68f292d2c361 --- gen/python/sym/ops/atan_camera_cal/camera_ops.py | 2 +- gen/python/sym/ops/atan_camera_cal/group_ops.py | 2 +- gen/python/sym/ops/atan_camera_cal/lie_group_ops.py | 2 +- gen/python/sym/ops/double_sphere_camera_cal/camera_ops.py | 2 +- gen/python/sym/ops/double_sphere_camera_cal/group_ops.py | 2 +- .../sym/ops/double_sphere_camera_cal/lie_group_ops.py | 2 +- gen/python/sym/ops/equirectangular_camera_cal/camera_ops.py | 2 +- gen/python/sym/ops/equirectangular_camera_cal/group_ops.py | 2 +- .../sym/ops/equirectangular_camera_cal/lie_group_ops.py | 2 +- gen/python/sym/ops/linear_camera_cal/camera_ops.py | 2 +- gen/python/sym/ops/linear_camera_cal/group_ops.py | 2 +- gen/python/sym/ops/linear_camera_cal/lie_group_ops.py | 2 +- gen/python/sym/ops/polynomial_camera_cal/camera_ops.py | 2 +- gen/python/sym/ops/polynomial_camera_cal/group_ops.py | 2 +- gen/python/sym/ops/polynomial_camera_cal/lie_group_ops.py | 2 +- gen/python/sym/ops/pose2/group_ops.py | 2 +- gen/python/sym/ops/pose2/lie_group_ops.py | 2 +- gen/python/sym/ops/pose3/group_ops.py | 2 +- gen/python/sym/ops/pose3/lie_group_ops.py | 2 +- gen/python/sym/ops/rot2/group_ops.py | 2 +- gen/python/sym/ops/rot2/lie_group_ops.py | 2 +- gen/python/sym/ops/rot3/group_ops.py | 2 +- gen/python/sym/ops/rot3/lie_group_ops.py | 2 +- gen/python/sym/ops/spherical_camera_cal/camera_ops.py | 2 +- gen/python/sym/ops/spherical_camera_cal/group_ops.py | 2 +- gen/python/sym/ops/spherical_camera_cal/lie_group_ops.py | 2 +- gen/python/sym/ops/unit3/group_ops.py | 2 +- gen/python/sym/ops/unit3/lie_group_ops.py | 2 +- .../templates/cam_package/ops/CLASS/camera_ops.py.jinja | 2 +- .../backends/python/templates/function/FUNCTION.py.jinja | 6 +++++- .../backends/python/templates/ops/CLASS/group_ops.py.jinja | 2 +- .../python/templates/ops/CLASS/lie_group_ops.py.jinja | 2 +- .../backends/pytorch/templates/function/FUNCTION.py.jinja | 6 +++++- .../symengine/az_el_from_point.py | 6 +++++- .../codegen_test/codegen_dataclass_in_values_test.py | 6 +++++- .../python/symforce/codegen_python_test/python_function.py | 6 +++++- .../python/symforce/buffer_test/buffer_func.py | 6 +++++- .../symengine/numba_test_func.py | 6 +++++- .../symforce_pytorch_codegen_test/backend_test_function.py | 6 +++++- .../symengine/symforce_pytorch_codegen_test/pytorch_func.py | 6 +++++- .../sympy/az_el_from_point.py | 6 +++++- .../codegen_test/codegen_dataclass_in_values_test.py | 6 +++++- .../python/symforce/codegen_python_test/python_function.py | 6 +++++- .../python/symforce/buffer_test/buffer_func.py | 6 +++++- .../sympy/numba_test_func.py | 6 +++++- .../symforce_pytorch_codegen_test/backend_test_function.py | 6 +++++- .../sympy/symforce_pytorch_codegen_test/pytorch_func.py | 6 +++++- 47 files changed, 111 insertions(+), 47 deletions(-) diff --git a/gen/python/sym/ops/atan_camera_cal/camera_ops.py b/gen/python/sym/ops/atan_camera_cal/camera_ops.py index 59f57fe2f..41df46074 100644 --- a/gen/python/sym/ops/atan_camera_cal/camera_ops.py +++ b/gen/python/sym/ops/atan_camera_cal/camera_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class CameraOps(object): diff --git a/gen/python/sym/ops/atan_camera_cal/group_ops.py b/gen/python/sym/ops/atan_camera_cal/group_ops.py index e1ce33a93..6ff040f43 100644 --- a/gen/python/sym/ops/atan_camera_cal/group_ops.py +++ b/gen/python/sym/ops/atan_camera_cal/group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class GroupOps(object): diff --git a/gen/python/sym/ops/atan_camera_cal/lie_group_ops.py b/gen/python/sym/ops/atan_camera_cal/lie_group_ops.py index cf2931a25..c475d50ab 100644 --- a/gen/python/sym/ops/atan_camera_cal/lie_group_ops.py +++ b/gen/python/sym/ops/atan_camera_cal/lie_group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class LieGroupOps(object): diff --git a/gen/python/sym/ops/double_sphere_camera_cal/camera_ops.py b/gen/python/sym/ops/double_sphere_camera_cal/camera_ops.py index 5a0bf6b16..74964b0fb 100644 --- a/gen/python/sym/ops/double_sphere_camera_cal/camera_ops.py +++ b/gen/python/sym/ops/double_sphere_camera_cal/camera_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class CameraOps(object): diff --git a/gen/python/sym/ops/double_sphere_camera_cal/group_ops.py b/gen/python/sym/ops/double_sphere_camera_cal/group_ops.py index 39abeafe3..f2deeca36 100644 --- a/gen/python/sym/ops/double_sphere_camera_cal/group_ops.py +++ b/gen/python/sym/ops/double_sphere_camera_cal/group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class GroupOps(object): diff --git a/gen/python/sym/ops/double_sphere_camera_cal/lie_group_ops.py b/gen/python/sym/ops/double_sphere_camera_cal/lie_group_ops.py index 1038b89af..9927cf78e 100644 --- a/gen/python/sym/ops/double_sphere_camera_cal/lie_group_ops.py +++ b/gen/python/sym/ops/double_sphere_camera_cal/lie_group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class LieGroupOps(object): diff --git a/gen/python/sym/ops/equirectangular_camera_cal/camera_ops.py b/gen/python/sym/ops/equirectangular_camera_cal/camera_ops.py index 4f903fbbb..f27563592 100644 --- a/gen/python/sym/ops/equirectangular_camera_cal/camera_ops.py +++ b/gen/python/sym/ops/equirectangular_camera_cal/camera_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class CameraOps(object): diff --git a/gen/python/sym/ops/equirectangular_camera_cal/group_ops.py b/gen/python/sym/ops/equirectangular_camera_cal/group_ops.py index a6afd64ca..edaa785e3 100644 --- a/gen/python/sym/ops/equirectangular_camera_cal/group_ops.py +++ b/gen/python/sym/ops/equirectangular_camera_cal/group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class GroupOps(object): diff --git a/gen/python/sym/ops/equirectangular_camera_cal/lie_group_ops.py b/gen/python/sym/ops/equirectangular_camera_cal/lie_group_ops.py index 9bbc2d135..3093bd388 100644 --- a/gen/python/sym/ops/equirectangular_camera_cal/lie_group_ops.py +++ b/gen/python/sym/ops/equirectangular_camera_cal/lie_group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class LieGroupOps(object): diff --git a/gen/python/sym/ops/linear_camera_cal/camera_ops.py b/gen/python/sym/ops/linear_camera_cal/camera_ops.py index 67dd4c164..759ae156c 100644 --- a/gen/python/sym/ops/linear_camera_cal/camera_ops.py +++ b/gen/python/sym/ops/linear_camera_cal/camera_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class CameraOps(object): diff --git a/gen/python/sym/ops/linear_camera_cal/group_ops.py b/gen/python/sym/ops/linear_camera_cal/group_ops.py index b9b31c326..fe6f16294 100644 --- a/gen/python/sym/ops/linear_camera_cal/group_ops.py +++ b/gen/python/sym/ops/linear_camera_cal/group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class GroupOps(object): diff --git a/gen/python/sym/ops/linear_camera_cal/lie_group_ops.py b/gen/python/sym/ops/linear_camera_cal/lie_group_ops.py index 3c2059ee3..e1fb8f94e 100644 --- a/gen/python/sym/ops/linear_camera_cal/lie_group_ops.py +++ b/gen/python/sym/ops/linear_camera_cal/lie_group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class LieGroupOps(object): diff --git a/gen/python/sym/ops/polynomial_camera_cal/camera_ops.py b/gen/python/sym/ops/polynomial_camera_cal/camera_ops.py index bf88da65a..b0586c9b0 100644 --- a/gen/python/sym/ops/polynomial_camera_cal/camera_ops.py +++ b/gen/python/sym/ops/polynomial_camera_cal/camera_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class CameraOps(object): diff --git a/gen/python/sym/ops/polynomial_camera_cal/group_ops.py b/gen/python/sym/ops/polynomial_camera_cal/group_ops.py index 9a3c88134..a1f711a07 100644 --- a/gen/python/sym/ops/polynomial_camera_cal/group_ops.py +++ b/gen/python/sym/ops/polynomial_camera_cal/group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class GroupOps(object): diff --git a/gen/python/sym/ops/polynomial_camera_cal/lie_group_ops.py b/gen/python/sym/ops/polynomial_camera_cal/lie_group_ops.py index 74a0229fe..534b5b7d9 100644 --- a/gen/python/sym/ops/polynomial_camera_cal/lie_group_ops.py +++ b/gen/python/sym/ops/polynomial_camera_cal/lie_group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class LieGroupOps(object): diff --git a/gen/python/sym/ops/pose2/group_ops.py b/gen/python/sym/ops/pose2/group_ops.py index 6c429971b..ec3030da8 100644 --- a/gen/python/sym/ops/pose2/group_ops.py +++ b/gen/python/sym/ops/pose2/group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class GroupOps(object): diff --git a/gen/python/sym/ops/pose2/lie_group_ops.py b/gen/python/sym/ops/pose2/lie_group_ops.py index d5db28126..dbc14def9 100644 --- a/gen/python/sym/ops/pose2/lie_group_ops.py +++ b/gen/python/sym/ops/pose2/lie_group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class LieGroupOps(object): diff --git a/gen/python/sym/ops/pose3/group_ops.py b/gen/python/sym/ops/pose3/group_ops.py index 781fc46f3..8c68ed367 100644 --- a/gen/python/sym/ops/pose3/group_ops.py +++ b/gen/python/sym/ops/pose3/group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class GroupOps(object): diff --git a/gen/python/sym/ops/pose3/lie_group_ops.py b/gen/python/sym/ops/pose3/lie_group_ops.py index bae16ab23..e0ebe58bd 100644 --- a/gen/python/sym/ops/pose3/lie_group_ops.py +++ b/gen/python/sym/ops/pose3/lie_group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class LieGroupOps(object): diff --git a/gen/python/sym/ops/rot2/group_ops.py b/gen/python/sym/ops/rot2/group_ops.py index 0dd8a035b..fd7a68df1 100644 --- a/gen/python/sym/ops/rot2/group_ops.py +++ b/gen/python/sym/ops/rot2/group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class GroupOps(object): diff --git a/gen/python/sym/ops/rot2/lie_group_ops.py b/gen/python/sym/ops/rot2/lie_group_ops.py index b2014ff57..abe339ea7 100644 --- a/gen/python/sym/ops/rot2/lie_group_ops.py +++ b/gen/python/sym/ops/rot2/lie_group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class LieGroupOps(object): diff --git a/gen/python/sym/ops/rot3/group_ops.py b/gen/python/sym/ops/rot3/group_ops.py index a227a029d..e72b4cb43 100644 --- a/gen/python/sym/ops/rot3/group_ops.py +++ b/gen/python/sym/ops/rot3/group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class GroupOps(object): diff --git a/gen/python/sym/ops/rot3/lie_group_ops.py b/gen/python/sym/ops/rot3/lie_group_ops.py index c8e079e16..02b8f141f 100644 --- a/gen/python/sym/ops/rot3/lie_group_ops.py +++ b/gen/python/sym/ops/rot3/lie_group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class LieGroupOps(object): diff --git a/gen/python/sym/ops/spherical_camera_cal/camera_ops.py b/gen/python/sym/ops/spherical_camera_cal/camera_ops.py index a56a4eca1..592979c00 100644 --- a/gen/python/sym/ops/spherical_camera_cal/camera_ops.py +++ b/gen/python/sym/ops/spherical_camera_cal/camera_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class CameraOps(object): diff --git a/gen/python/sym/ops/spherical_camera_cal/group_ops.py b/gen/python/sym/ops/spherical_camera_cal/group_ops.py index 0acb47d45..b6e477e92 100644 --- a/gen/python/sym/ops/spherical_camera_cal/group_ops.py +++ b/gen/python/sym/ops/spherical_camera_cal/group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class GroupOps(object): diff --git a/gen/python/sym/ops/spherical_camera_cal/lie_group_ops.py b/gen/python/sym/ops/spherical_camera_cal/lie_group_ops.py index b46a10718..23b206df4 100644 --- a/gen/python/sym/ops/spherical_camera_cal/lie_group_ops.py +++ b/gen/python/sym/ops/spherical_camera_cal/lie_group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class LieGroupOps(object): diff --git a/gen/python/sym/ops/unit3/group_ops.py b/gen/python/sym/ops/unit3/group_ops.py index 7ba27b7c0..56465b992 100644 --- a/gen/python/sym/ops/unit3/group_ops.py +++ b/gen/python/sym/ops/unit3/group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class GroupOps(object): diff --git a/gen/python/sym/ops/unit3/lie_group_ops.py b/gen/python/sym/ops/unit3/lie_group_ops.py index 069bf493e..6fbb2f3f6 100644 --- a/gen/python/sym/ops/unit3/lie_group_ops.py +++ b/gen/python/sym/ops/unit3/lie_group_ops.py @@ -9,7 +9,7 @@ import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class LieGroupOps(object): diff --git a/symforce/codegen/backends/python/templates/cam_package/ops/CLASS/camera_ops.py.jinja b/symforce/codegen/backends/python/templates/cam_package/ops/CLASS/camera_ops.py.jinja index 71d684d15..de293bab8 100644 --- a/symforce/codegen/backends/python/templates/cam_package/ops/CLASS/camera_ops.py.jinja +++ b/symforce/codegen/backends/python/templates/cam_package/ops/CLASS/camera_ops.py.jinja @@ -9,7 +9,7 @@ import typing as T import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class CameraOps(object): diff --git a/symforce/codegen/backends/python/templates/function/FUNCTION.py.jinja b/symforce/codegen/backends/python/templates/function/FUNCTION.py.jinja index 607da04b8..cc3047862 100644 --- a/symforce/codegen/backends/python/templates/function/FUNCTION.py.jinja +++ b/symforce/codegen/backends/python/templates/function/FUNCTION.py.jinja @@ -4,7 +4,11 @@ # ---------------------------------------------------------------------------- #} {%- import "../util/util.jinja" as util with context -%} -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument,unused-import +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math import typing as T diff --git a/symforce/codegen/backends/python/templates/ops/CLASS/group_ops.py.jinja b/symforce/codegen/backends/python/templates/ops/CLASS/group_ops.py.jinja index 598ac9b10..084496d23 100644 --- a/symforce/codegen/backends/python/templates/ops/CLASS/group_ops.py.jinja +++ b/symforce/codegen/backends/python/templates/ops/CLASS/group_ops.py.jinja @@ -9,7 +9,7 @@ import typing as T import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class GroupOps(object): diff --git a/symforce/codegen/backends/python/templates/ops/CLASS/lie_group_ops.py.jinja b/symforce/codegen/backends/python/templates/ops/CLASS/lie_group_ops.py.jinja index de12e41de..9a125ecd7 100644 --- a/symforce/codegen/backends/python/templates/ops/CLASS/lie_group_ops.py.jinja +++ b/symforce/codegen/backends/python/templates/ops/CLASS/lie_group_ops.py.jinja @@ -9,7 +9,7 @@ import typing as T import numpy -import sym # pylint: disable=unused-import +import sym # pylint: disable=useless-suppression,unused-import class LieGroupOps(object): diff --git a/symforce/codegen/backends/pytorch/templates/function/FUNCTION.py.jinja b/symforce/codegen/backends/pytorch/templates/function/FUNCTION.py.jinja index 8f85d3d94..2ca7b9cbd 100644 --- a/symforce/codegen/backends/pytorch/templates/function/FUNCTION.py.jinja +++ b/symforce/codegen/backends/pytorch/templates/function/FUNCTION.py.jinja @@ -4,7 +4,11 @@ # ---------------------------------------------------------------------------- #} {%- import "../util/util.jinja" as util with context -%} -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math # pylint: disable=unused-import import typing as T diff --git a/test/symforce_function_codegen_test_data/symengine/az_el_from_point.py b/test/symforce_function_codegen_test_data/symengine/az_el_from_point.py index d5a8d98df..4dd8d2de7 100644 --- a/test/symforce_function_codegen_test_data/symengine/az_el_from_point.py +++ b/test/symforce_function_codegen_test_data/symengine/az_el_from_point.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument,unused-import +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math import typing as T diff --git a/test/symforce_function_codegen_test_data/symengine/codegen_dataclass_in_values_test_data/python/symforce/codegen_test/codegen_dataclass_in_values_test.py b/test/symforce_function_codegen_test_data/symengine/codegen_dataclass_in_values_test_data/python/symforce/codegen_test/codegen_dataclass_in_values_test.py index 79dfbab51..e2787f23d 100644 --- a/test/symforce_function_codegen_test_data/symengine/codegen_dataclass_in_values_test_data/python/symforce/codegen_test/codegen_dataclass_in_values_test.py +++ b/test/symforce_function_codegen_test_data/symengine/codegen_dataclass_in_values_test_data/python/symforce/codegen_test/codegen_dataclass_in_values_test.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument,unused-import +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math import typing as T diff --git a/test/symforce_function_codegen_test_data/symengine/codegen_python_test_data/python/symforce/codegen_python_test/python_function.py b/test/symforce_function_codegen_test_data/symengine/codegen_python_test_data/python/symforce/codegen_python_test/python_function.py index ff4ebd4ff..0fe0d140f 100644 --- a/test/symforce_function_codegen_test_data/symengine/codegen_python_test_data/python/symforce/codegen_python_test/python_function.py +++ b/test/symforce_function_codegen_test_data/symengine/codegen_python_test_data/python/symforce/codegen_python_test/python_function.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument,unused-import +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math import typing as T diff --git a/test/symforce_function_codegen_test_data/symengine/databuffer_codegen_test_data/python/symforce/buffer_test/buffer_func.py b/test/symforce_function_codegen_test_data/symengine/databuffer_codegen_test_data/python/symforce/buffer_test/buffer_func.py index 4c8bcbec8..d31171253 100644 --- a/test/symforce_function_codegen_test_data/symengine/databuffer_codegen_test_data/python/symforce/buffer_test/buffer_func.py +++ b/test/symforce_function_codegen_test_data/symengine/databuffer_codegen_test_data/python/symforce/buffer_test/buffer_func.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument,unused-import +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math import typing as T diff --git a/test/symforce_function_codegen_test_data/symengine/numba_test_func.py b/test/symforce_function_codegen_test_data/symengine/numba_test_func.py index d7ef207d2..4ba83a21f 100644 --- a/test/symforce_function_codegen_test_data/symengine/numba_test_func.py +++ b/test/symforce_function_codegen_test_data/symengine/numba_test_func.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument,unused-import +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math import typing as T diff --git a/test/symforce_function_codegen_test_data/symengine/symforce_pytorch_codegen_test/backend_test_function.py b/test/symforce_function_codegen_test_data/symengine/symforce_pytorch_codegen_test/backend_test_function.py index 38a80537e..b658ecb12 100644 --- a/test/symforce_function_codegen_test_data/symengine/symforce_pytorch_codegen_test/backend_test_function.py +++ b/test/symforce_function_codegen_test_data/symengine/symforce_pytorch_codegen_test/backend_test_function.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math # pylint: disable=unused-import import typing as T diff --git a/test/symforce_function_codegen_test_data/symengine/symforce_pytorch_codegen_test/pytorch_func.py b/test/symforce_function_codegen_test_data/symengine/symforce_pytorch_codegen_test/pytorch_func.py index a6d0d2257..4306371f2 100644 --- a/test/symforce_function_codegen_test_data/symengine/symforce_pytorch_codegen_test/pytorch_func.py +++ b/test/symforce_function_codegen_test_data/symengine/symforce_pytorch_codegen_test/pytorch_func.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math # pylint: disable=unused-import import typing as T diff --git a/test/symforce_function_codegen_test_data/sympy/az_el_from_point.py b/test/symforce_function_codegen_test_data/sympy/az_el_from_point.py index f7c027efb..d13eb7c10 100644 --- a/test/symforce_function_codegen_test_data/sympy/az_el_from_point.py +++ b/test/symforce_function_codegen_test_data/sympy/az_el_from_point.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument,unused-import +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math import typing as T diff --git a/test/symforce_function_codegen_test_data/sympy/codegen_dataclass_in_values_test_data/python/symforce/codegen_test/codegen_dataclass_in_values_test.py b/test/symforce_function_codegen_test_data/sympy/codegen_dataclass_in_values_test_data/python/symforce/codegen_test/codegen_dataclass_in_values_test.py index 79dfbab51..e2787f23d 100644 --- a/test/symforce_function_codegen_test_data/sympy/codegen_dataclass_in_values_test_data/python/symforce/codegen_test/codegen_dataclass_in_values_test.py +++ b/test/symforce_function_codegen_test_data/sympy/codegen_dataclass_in_values_test_data/python/symforce/codegen_test/codegen_dataclass_in_values_test.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument,unused-import +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math import typing as T diff --git a/test/symforce_function_codegen_test_data/sympy/codegen_python_test_data/python/symforce/codegen_python_test/python_function.py b/test/symforce_function_codegen_test_data/sympy/codegen_python_test_data/python/symforce/codegen_python_test/python_function.py index ff4ebd4ff..0fe0d140f 100644 --- a/test/symforce_function_codegen_test_data/sympy/codegen_python_test_data/python/symforce/codegen_python_test/python_function.py +++ b/test/symforce_function_codegen_test_data/sympy/codegen_python_test_data/python/symforce/codegen_python_test/python_function.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument,unused-import +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math import typing as T diff --git a/test/symforce_function_codegen_test_data/sympy/databuffer_codegen_test_data/python/symforce/buffer_test/buffer_func.py b/test/symforce_function_codegen_test_data/sympy/databuffer_codegen_test_data/python/symforce/buffer_test/buffer_func.py index 14c23d51d..be4e723aa 100644 --- a/test/symforce_function_codegen_test_data/sympy/databuffer_codegen_test_data/python/symforce/buffer_test/buffer_func.py +++ b/test/symforce_function_codegen_test_data/sympy/databuffer_codegen_test_data/python/symforce/buffer_test/buffer_func.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument,unused-import +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math import typing as T diff --git a/test/symforce_function_codegen_test_data/sympy/numba_test_func.py b/test/symforce_function_codegen_test_data/sympy/numba_test_func.py index d7ef207d2..4ba83a21f 100644 --- a/test/symforce_function_codegen_test_data/sympy/numba_test_func.py +++ b/test/symforce_function_codegen_test_data/sympy/numba_test_func.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument,unused-import +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math import typing as T diff --git a/test/symforce_function_codegen_test_data/sympy/symforce_pytorch_codegen_test/backend_test_function.py b/test/symforce_function_codegen_test_data/sympy/symforce_pytorch_codegen_test/backend_test_function.py index c06a241bd..5945748c4 100644 --- a/test/symforce_function_codegen_test_data/sympy/symforce_pytorch_codegen_test/backend_test_function.py +++ b/test/symforce_function_codegen_test_data/sympy/symforce_pytorch_codegen_test/backend_test_function.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math # pylint: disable=unused-import import typing as T diff --git a/test/symforce_function_codegen_test_data/sympy/symforce_pytorch_codegen_test/pytorch_func.py b/test/symforce_function_codegen_test_data/sympy/symforce_pytorch_codegen_test/pytorch_func.py index a6d0d2257..4306371f2 100644 --- a/test/symforce_function_codegen_test_data/sympy/symforce_pytorch_codegen_test/pytorch_func.py +++ b/test/symforce_function_codegen_test_data/sympy/symforce_pytorch_codegen_test/pytorch_func.py @@ -4,7 +4,11 @@ # Do NOT modify by hand. # ----------------------------------------------------------------------------- -# pylint: disable=too-many-locals,too-many-lines,too-many-statements,unused-argument +# pylint: disable=useless-suppression +# pylint: disable=too-many-locals +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=unused-argument import math # pylint: disable=unused-import import typing as T