Skip to content

Commit

Permalink
Add autoflake to pre-commit config (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass authored Nov 9, 2024
1 parent 3bf648b commit f4b5dfe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ repos:
hooks:
- id: black

# Removes unused imports.
- repo: https://github.com/PyCQA/autoflake
rev: v2.3.1
hooks:
- id: autoflake

# Finds spelling issues in code.
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
Expand Down
1 change: 0 additions & 1 deletion src/pyroboplan/planning/path_shortcutting.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
""" Capabilities to shorten paths produced by motion planners. """

import copy
import numpy as np

from pyroboplan.core.utils import configuration_distance, get_path_length
Expand Down
2 changes: 1 addition & 1 deletion test/planning/test_prm.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_construct_roadmap():
def test_construct_roadmap_prm_star():
# Initialize the roadmap using PRM*
options = PRMPlannerOptions(prm_star=True, max_construction_nodes=100)
planner = construct_roadmap_test(options)
construct_roadmap_test(options)


def test_plan_trivial_prm():
Expand Down

0 comments on commit f4b5dfe

Please sign in to comment.