Added pylint comments to /am65xx/pin.py and pwmout.py. Which are minor "issues" which should be totaly ok to pass.
+# pylint: disable=too-many-branches,too-many-statements
+# pylint: disable=pointless-string-statement
+
class Pin:
"""Pins don't exist in CPython so...lets make our own!"""
class Pin:
"""Pins don't exist in CPython so...lets make our own!"""
# SPDX-FileCopyrightText: 2022 Martin Schnur for Siemens AG
#
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2022 Martin Schnur for Siemens AG
#
# SPDX-License-Identifier: MIT
+
+# pylint: disable=pointless-string-statement
+# pylint: disable=ungrouped-imports,wrong-import-position,unused-import
+# pylint: disable=import-outside-toplevel
+
"""Custom PWMOut Wrapper for am65xx"""
"""
Much code from https://github.com/vsergeev/python-periphery/blob/master/periphery/pwm.py
"""Custom PWMOut Wrapper for am65xx"""
"""
Much code from https://github.com/vsergeev/python-periphery/blob/master/periphery/pwm.py
import mraa
from adafruit_blinka.microcontroller.am65xx.pin import Pin
import mraa
from adafruit_blinka.microcontroller.am65xx.pin import Pin
# pylint: disable=unnecessary-pass
# pylint: disable=unnecessary-pass
class PWMError(IOError):
"""Base class for PWM errors."""
class PWMError(IOError):
"""Base class for PWM errors."""