From d99f4aee4538ab9330527cb8a30bd35c4132cebc Mon Sep 17 00:00:00 2001 From: Jeremy Wright Date: Thu, 24 Oct 2024 16:14:50 -0400 Subject: [PATCH] Lint directive conversion from codes to words --- nimble_build_system/cad/fasteners.py | 2 +- nimble_build_system/cad/shelf.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nimble_build_system/cad/fasteners.py b/nimble_build_system/cad/fasteners.py index 3d616b7..5b2e292 100644 --- a/nimble_build_system/cad/fasteners.py +++ b/nimble_build_system/cad/fasteners.py @@ -127,7 +127,7 @@ class Ziptie(Fastener): """ Ziptie fastener, that shows the straight, ununsed condition only. """ - #pylint: disable=R0913 + #pylint: disable=too-many-arguments _thickness = 1.6 # mm _width = 4 # mm diff --git a/nimble_build_system/cad/shelf.py b/nimble_build_system/cad/shelf.py index 2999b7f..729379d 100644 --- a/nimble_build_system/cad/shelf.py +++ b/nimble_build_system/cad/shelf.py @@ -411,11 +411,11 @@ def generate_assembly_model(self, explode=False): # There is a false positive on the cq.Location constructor. If I make pylint happy it breaks # the method dispatch. If I make Python happy, pylint fails. - # pylint: disable=E1120 - # pylint: disable=W0212 - # pylint: disable=R0912 - # pylint: disable=R0915 - # pylint: disable=E1121 + # pylint: disable=no-value-for-parameter + # pylint: disable=protected-access + # pylint: disable=too-many-branches + # pylint: disable=too-many-statements + # pylint: disable=too-many-function-args # If the shelf assembly has already been generated, do not generate it again if self._shelf_assembly_model is None: