Skip to content

feat(ruff): Upgrate to 0.17.3 - #2311

Merged
amilcarlucas merged 1 commit into
masterfrom
upgrade_ruff_0.17.3
Nov 1, 2026
Merged

amilcarlucas merged 1 commit into
masterfrom
upgrade_ruff_0.17.3

Conversation

@amilcarlucas

Copy link
Copy Markdown
Collaborator

Description

Upgrate to ruff 0.17.3

Checklist

  • Run pre-commit checks locally
  • Verified by a human programmer
  • All commits are signed off (use git commit --signoff)
  • Code follows our coding standards
  • Documentation updated if needed
  • No breaking changes or properly documented

Testing

Describe how you tested these changes:

  • Unit tests pass
  • Integration tests pass
  • Manual testing performed
  • Tested on flight controller hardware

Signed-off-by: Dr.-Ing. Amilcar do Carmo Lucas <amilcar.lucas@iav.de>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are identified for the Ruff version alignment and minor lint cleanup.

No open issues 🎉

What changed in this PR

This PR upgrades Ruff to 0.17.3 in the development dependencies and pre-commit hooks, with minor lint-related cleanup and no intended runtime behavior changes.

Changes:

  • Aligns both Ruff version pins to 0.17.3.
  • Uses the dt alias for datetime in metadata generation.
  • Removes the I001 suppression from a local import.
File Description
scripts/​generate_pdef.xml_metadata.py Updates the datetime import and usage to use dt.
pyproject.toml Pins the development dependency to Ruff 0.17.3.
ardupilot_methodic_configurator/​frontend_tkinter_usage_popup_windows.py Removes the import-order lint suppression.
.pre-commit-config.yaml Upgrades Ruff hooks to v0.17.3.

Review effort: Balanced

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
29928 28359 95% 89% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 4f41747 by action🐍

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Test Results

     3 files  ±0       3 suites  ±0   42m 52s ⏱️ -45s
 9 146 tests ±0   9 141 ✅ ±0   5 💤 ±0  0 ❌ ±0 
27 306 runs  ±0  27 271 ✅ ±0  35 💤 ±0  0 ❌ ±0 

Results for commit 4f41747. ± Comparison against base commit 19c3891.

@amilcarlucas
amilcarlucas merged commit 8316d40 into master Nov 1, 2026
31 of 33 checks passed
@amilcarlucas
amilcarlucas deleted the upgrade_ruff_0.17.3 branch November 1, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants