Skip to content

Commit

Permalink
Pre-commit update and remove redundant flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Nov 26, 2024
1 parent 5425106 commit a9a291d
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 100 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: trailing-whitespace
Expand All @@ -16,7 +16,7 @@ repos:
args: [--pytest-test-first]

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
name: codespell
Expand All @@ -33,13 +33,13 @@ repos:
args: [--mapping, '2', --sequence, '4', --offset, '2', --width, '100']

- repo: https://github.com/psf/black
rev: 24.4.0
rev: 24.10.0
hooks:
- id: black
args: [--line-length=99]

- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
rev: 7.1.1
hooks:
- id: flake8
args: ['--ignore=E501,W503'] # ignore too long line and line break before binary operator,
Expand Down Expand Up @@ -71,7 +71,7 @@ repos:

# Docs - RestructuredText hooks
- repo: https://github.com/PyCQA/doc8
rev: v1.1.1
rev: v1.1.2
hooks:
- id: doc8
args: [--max-line-length=100, --ignore=D001]
Expand Down
1 change: 0 additions & 1 deletion rosbot/rosbot_hardware.repos
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ repositories:
type: git
url: https://github.com/micro-ROS/micro-ROS-Agent.git
version: humble

2 changes: 1 addition & 1 deletion rosbot/rosbot_simulation.repos
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ repositories:
ros2_controllers: # Bug: There is no nice way to change `sensor_name` imu_bradcaster param when spawning multiple robots -> ros2_control refer only to single imu entity
type: git
url: https://github.com/husarion/ros2_controllers/
version: 9da42a07a83bbf3faf5cad11793fff22f25068af
version: 9da42a07a83bbf3faf5cad11793fff22f25068af
23 changes: 0 additions & 23 deletions rosbot_bringup/test/test_flake8.py

This file was deleted.

23 changes: 0 additions & 23 deletions rosbot_controller/test/test_flake8.py

This file was deleted.

23 changes: 0 additions & 23 deletions rosbot_gazebo/test/test_flake8.py

This file was deleted.

1 change: 0 additions & 1 deletion rosbot_utils/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
<exec_depend>launch_ros</exec_depend>

<test_depend>ament_copyright</test_depend>
<test_depend>ament_flake8</test_depend>
<test_depend>ament_pep257</test_depend>
<test_depend>python3-pytest</test_depend>

Expand Down
23 changes: 0 additions & 23 deletions rosbot_utils/test/test_flake8.py

This file was deleted.

0 comments on commit a9a291d

Please sign in to comment.