ruff-check
Verified for current stable LTS
Ruff Check Command: Run Linter On Specific Files Or Directories
Use for run linter on specific files or directories with Ruff Check. Exact CLI syntax to run linter on specific files or directories using Ruff Check.
When to use this: Use for run linter on specific files or directories with Ruff Check.
Command Syntax
ruff check <path/to/file_or_directory1 path/to/file_or_directory2 ...> ruff check <path/to/file_or_directory1 path/to/file_or_directory2 ...> Live Command Builder
Final Command
ruff check <path/to/file_or_directory1 path/to/file_or_directory2 ...> Command Breakdown
ruff is the base executable for this command.
FAQ
Purpose: Exact syntax to run linter on specific files or directories using Ruff Check.
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
Ruff Check Command: Additionally Enable Specified Rules
ruff check --extend-select <rule_code1,rule_code2,...> Ruff Check Command: Apply Suggested Fixes In Place ruff check --fix Ruff Check Command: Disable Specified Rules ruff check --ignore <rule_code1,rule_code2,...> Ruff Check Command: Enable Specified Rules Ignoring Configuration ruff check --select <ALL|rule_code1,rule_code2,...> Ruff Check Command: Ignore Violations With Noqa ruff check --select <rule_code> --add-noqa