Skip to content

style: update pre-commit (black 26.1.0, pre-commit-hooks-ros 0.10.2)#12195

Open
paulsohn wants to merge 2 commits intoautowarefoundation:mainfrom
paulsohn:sohn/style/black-26.1
Open

style: update pre-commit (black 26.1.0, pre-commit-hooks-ros 0.10.2)#12195
paulsohn wants to merge 2 commits intoautowarefoundation:mainfrom
paulsohn:sohn/style/black-26.1

Conversation

@paulsohn
Copy link
Contributor

@paulsohn paulsohn commented Feb 26, 2026

Description

recent sync-files fails pre-commit because the updated black requires stricter formatting on python files.

Bumped black to 26.1.0 (as the same in current sync-files PR) and ran pre-commit run --all-files black to generate all these changes.

Also to prevent pre-commit failure on CI environment, bumped pre-commit-hooks-ros to 0.10.2.

Related links

#12117

Parent Issue:

  • Link

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp>
@paulsohn paulsohn enabled auto-merge (squash) February 26, 2026 02:39
@paulsohn paulsohn added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Feb 26, 2026
@github-actions
Copy link

github-actions bot commented Feb 26, 2026

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp>
@paulsohn paulsohn changed the title style: update pre-commit black 26.1.0 style: update pre-commit (black 26.1.0, pre-commit-hooks-ros 0.10.2) Feb 26, 2026
@github-actions github-actions bot added component:planning Route planning, decision-making, and navigation. (auto-assigned) component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:vehicle Vehicle-specific implementations, drivers, packages. (auto-assigned) labels Feb 26, 2026
@codecov
Copy link

codecov bot commented Feb 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 23.73%. Comparing base (8d07c62) to head (238696d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12195      +/-   ##
==========================================
+ Coverage   18.14%   23.73%   +5.59%     
==========================================
  Files        1841     1855      +14     
  Lines      126694   127437     +743     
  Branches    44501    47382    +2881     
==========================================
+ Hits        22984    30248    +7264     
- Misses      84545    84777     +232     
+ Partials    19165    12412    -6753     
Flag Coverage Δ *Carryforward flag
daily 20.63% <ø> (ø) Carriedforward from cfde4ac
daily-cuda 18.14% <ø> (ø) Carriedforward from cfde4ac
differential 43.37% <ø> (?)
total-cuda 18.13% <ø> (ø) Carriedforward from cfde4ac

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) component:vehicle Vehicle-specific implementations, drivers, packages. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)

Projects

Status: To Triage

Development

Successfully merging this pull request may close these issues.

2 participants