Skip to content

fix: Ruff format tools/cc1. #16814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Feb 25, 2025

Summary

% pre-commit run ruff-format --all-files

or

% ruff format tools/cc1

This picks up tools/cc1 which is a Python file that does not have a .py file extension.

Related to

Testing

Trade-offs and Alternatives

Signed-off-by: Christian Clauss <cclauss@me.com>
Copy link

codecov bot commented Feb 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.53%. Comparing base (8ce7a58) to head (a300bcb).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #16814   +/-   ##
=======================================
  Coverage   98.53%   98.53%           
=======================================
  Files         169      169           
  Lines       21822    21822           
=======================================
  Hits        21502    21502           
  Misses        320      320           

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

Copy link

Code size report:

   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:    +0 +0.000% PYBV10
     mimxrt:    +0 +0.000% TEENSY40
        rp2:    +0 +0.000% RPI_PICO_W
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
  qemu rv32:    +0 +0.000% VIRT_RV32

@cclauss cclauss changed the title fix: Pre-commit run ruff-format --all-files. fix: Ruff format tools/cc1. Feb 26, 2025
@dpgeorge
Copy link
Member

Is there a way to add this to the CI? Like include = ["tools/cc1"] in pyproject.toml? Or at the very least, run ruff format --diff tools/cc1 as part of the CI.

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