Skip to content
Snippets Groups Projects

Update clang-format and switch to Ruff for Python

Merged Menglin Xu requested to merge mexu_format into master

Changes:

  • Update clang-format
  • switch to Ruff for Python linting and formatting
  • fix the path bug for disallow-checksums-update check

Validated by

  • Core Software
  • RTA
  • Simulation
Edited by Menglin Xu

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Menglin Xu added 1 commit

    added 1 commit

    • 1e1f8c82 - add the Pyupgrade equivalent checks for Ruff

    Compare with previous version

  • Menglin Xu resolved all threads

    resolved all threads

  • Menglin Xu added 1 commit

    added 1 commit

    • 72ad6077 - run the pyupgrade checks too

    Compare with previous version

  • Menglin Xu added 11 commits

    added 11 commits

    Compare with previous version

  • Menglin Xu added 2 commits

    added 2 commits

    • 9e3946cc - exclude ISO conditions from check-yaml id
    • f8ec21d2 - remove the redundant yaml check

    Compare with previous version

  • Author Maintainer

    Thanks @clemenci for your comments! I think the main issue was that I missed some pyupgrade parts. Hopefully, everything looks more reasonable now. Could you take another look before I introduce a lot of changes due to formatting?

  • Marco Clemencic added 4 commits

    added 4 commits

    • b800dd8d - fix typo in ruff.toml
    • 9c05c2d1 - fix definition of ruff target-version
    • 335940ae - fix call to ruff check in pre-commit
    • e44ae412 - update version of Ruff

    Compare with previous version

  • Menglin Xu added 1 commit

    added 1 commit

    • e6c9ab05 - fix the checking path for the yaml test

    Compare with previous version

  • added 1 commit

    • ddf4ff3f - run check-yaml on YAML files and conditions

    Compare with previous version

  • Menglin Xu resolved all threads

    resolved all threads

  • Marco Clemencic marked the checklist item Core Software as completed

    marked the checklist item Core Software as completed

  • Menglin Xu added 4 commits

    added 4 commits

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading