Skip to content

🔧 Update pre-commit-config.yaml ruff format to use --check#2077

Merged
alejsdev merged 1 commit intofastapi:masterfrom
ryansydnor:patch-1
Jan 20, 2026
Merged

🔧 Update pre-commit-config.yaml ruff format to use --check#2077
alejsdev merged 1 commit intofastapi:masterfrom
ryansydnor:patch-1

Conversation

@ryansydnor
Copy link
Copy Markdown
Contributor

Instead of nonexistent --exit-non-zero-on-format

Instead of nonexistent --exit-non-zero-on-format
Copy link
Copy Markdown
Member

@alejsdev alejsdev left a comment

Choose a reason for hiding this comment

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

Hello @ryansydnor, just double-checked here https://docs.astral.sh/ruff/formatter/#exit-codes and you're right.

Thank you for your contribution! 🚀

@alejsdev alejsdev changed the title Update pre-commit-config.yaml ruff format to use --check 🔧 Update pre-commit-config.yaml ruff format to use --check Jan 20, 2026
@alejsdev alejsdev merged commit 88eade2 into fastapi:master Jan 20, 2026
13 checks passed
alejsdev added a commit that referenced this pull request Jan 20, 2026
alejsdev added a commit that referenced this pull request Jan 20, 2026
samsam926 pushed a commit to samsam926/KD-Path that referenced this pull request Jan 28, 2026
samsam926 pushed a commit to samsam926/KD-Path that referenced this pull request Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants