Skip to content

(add) new --quiet and --silent flags#83

Open
my1e5 wants to merge 7 commits into
EbodShojaei:mainfrom
my1e5:copilot/add-quiet-silent-flags
Open

(add) new --quiet and --silent flags#83
my1e5 wants to merge 7 commits into
EbodShojaei:mainfrom
my1e5:copilot/add-quiet-silent-flags

Conversation

@my1e5

@my1e5 my1e5 commented Mar 4, 2026

Copy link
Copy Markdown

This PR adds --quiet/-q and --silent/-s flags to the format command, following the ruff convention.

 --quiet     -q            Suppress all output. With --check, print diagnostics but nothing else.                                                                             
 --silent    -s            Disable all logging (but still exit with status code '1' upon detecting diagnostics). 

Copilot AI and others added 3 commits March 4, 2026 15:58
Co-authored-by: my1e5 <10064103+my1e5@users.noreply.github.com>
…d reformat with --check

Co-authored-by: my1e5 <10064103+my1e5@users.noreply.github.com>
@my1e5

my1e5 commented Mar 4, 2026

Copy link
Copy Markdown
Author

For reference, this is how ruff handles logging for its format command:

$ ruff format
1 file reformatted

$ ruff format -q

$ ruff format -s

with --check

$ ruff format --check
Would reformat: main.py
1 file would be reformatted

$ ruff format --check -q
Would reformat: main.py

$ ruff format --check -s

$ ruff --version
ruff 0.15.4

@EbodShojaei

Copy link
Copy Markdown
Owner

Thank you @my1e5, this will be reviewed for next version release.

@EbodShojaei

Copy link
Copy Markdown
Owner

@my1e5 This will be reviewed! In the meantime, please feel free to resolve the merge conflict; sorry about this delay, but I'll resolve the changes too on my working branch when I review for next version release.

@EbodShojaei

EbodShojaei commented Jun 6, 2026

Copy link
Copy Markdown
Owner

@my1e5 I will begin merging this once the conflict is resolved. Sorry it took time to revisit this. My plan is to incrementally roll out features as pre-releases and gauge feedback across versioning histories. I really appreciate your time and work on these great convenience features.

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.

3 participants