Last active
August 23, 2025 19:35
-
-
Save htv2012/b23abe4680c3e3a25044a3e71ccfa972 to your computer and use it in GitHub Desktop.
ruff formatting and linting commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lint: | |
| @uv run ruff check --select I --fix . --quiet | |
| @uv run ruff format . --quiet | |
| @uv run ruff check . --fix --quiet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Using ruff alone | |
| ruff check --select I --fix . --quiet | |
| ruff format . --quiet | |
| ruff check . --fix --quiet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Using uv | |
| uv run ruff check --select I --fix . --quiet | |
| uv run ruff format . --quiet | |
| uv run ruff check . --fix --quiet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Using uv tool | |
| uv tool run ruff check --select I --fix . --quiet | |
| uv tool run ruff format . --quiet | |
| uv tool run ruff check . --fix --quiet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment