Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-camero committed Jan 22, 2025
1 parent c3c890e commit 55304c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clearpath_config/manipulators/manipulators.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
BaseArm,
)
from clearpath_config.manipulators.types.lifts import (
BaseLift,
Lift,
BaseLift
)
from clearpath_config.manipulators.types.manipulator import BaseManipulator

Expand Down Expand Up @@ -115,7 +115,7 @@ def lifts(self) -> OrderedListConfig:
def lifts(self, value: List[dict]) -> None:
assert isinstance(value, list), (
"Manipulators must be list of 'dict'")
assert all([isinstance(i, dict) for i in value]), (
assert all(isinstance(i, dict) for i in value), (
"Manipulators must be list of 'dict'")
lifts_list = []
for d in value:
Expand Down
1 change: 1 addition & 0 deletions clearpath_config/manipulators/types/lifts.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
from typing import List

from clearpath_config.common.types.accessory import Accessory
from clearpath_config.manipulators.types.manipulator import BaseManipulator

Expand Down

0 comments on commit 55304c2

Please sign in to comment.