black
Verified for current stable LTS
Black Command: Check Formatting Changes
Use for check formatting changes with Black. Exact CLI syntax to check formatting changes using Black.
When to use this: Use for check formatting changes with Black.
Command Syntax
black --check <path/to/file_or_directory> black --check <path/to/file_or_directory> Command Breakdown
--check- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to check formatting changes using Black.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Black Command: Auto Format File Or Directory
black <path/to/file_or_directory> Black Command: Format Code String black -c "<code>" Black Command: Quiet Auto Formatting black -q <path/to/file_or_directory> Black Command: Show Dry Run Formatting Differences black --diff <path/to/file_or_directory> Black Command: Skip String Normalization black -S <path/to/file_or_directory>