Skip to content

Commit

Permalink
(pykdl_ros) also run isort
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Sep 7, 2023
1 parent d085e07 commit 9ec9b88
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions pykdl_ros/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<test_depend>ament_copyright</test_depend>
<test_depend>ament_flake8</test_depend>
<test_depend>ament_pep257</test_depend>
<test_depend>python3-flake8-isort</test_depend>
<test_depend>python3-pytest</test_depend>

<export>
Expand Down
2 changes: 1 addition & 1 deletion pykdl_ros/pykdl_ros/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

from builtin_interfaces.msg import Time
import PyKDL as kdl
from builtin_interfaces.msg import Time
from std_msgs.msg import Header


Expand Down
3 changes: 3 additions & 0 deletions pykdl_ros/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[tool.black]
line-length = 120

[tool.isort]
line_length = 120

[tool.pytest.ini_options]
filterwarnings = ["ignore:SelectableGroups dict interface is deprecated. Use select.:DeprecationWarning"]
1 change: 1 addition & 0 deletions pykdl_ros/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from os import path

from setuptools import find_packages, setup

package_name = "pykdl_ros"
Expand Down
2 changes: 1 addition & 1 deletion pykdl_ros/test/test_copyright.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from ament_copyright.main import main
import pytest
from ament_copyright.main import main


# Remove the `skip` decorator once the source file(s) have a copyright header
Expand Down
2 changes: 1 addition & 1 deletion pykdl_ros/test/test_flake8.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from ament_flake8.main import main_with_errors
import pytest
from ament_flake8.main import main_with_errors


@pytest.mark.flake8
Expand Down
2 changes: 1 addition & 1 deletion pykdl_ros/test/test_pep257.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from ament_pep257.main import main
import pytest
from ament_pep257.main import main


@pytest.mark.linter
Expand Down

0 comments on commit 9ec9b88

Please sign in to comment.