Python Quality Tools
Check standalone Python files without turning them into a project.
First determine whether repository configuration, CI, or contributor commands govern the target file. If so, invoke
python-development:python-project-toolingwhen it is available. Do not substitute standalone defaults for an established toolchain.For standalone Python files with no governing toolchain, use:
uvx ruff format path/to/script.py uvx ruff check --fix path/to/script.py uvx ty check path/to/script.pyReview formatter changes, then re-run lint without
--fixand run the type checker again for clean evidence.Do not create
pyproject.toml, a package layout, a lockfile, or a virtual environment for this workflow.
If python-development:python-project-tooling is unavailable for a
repository-governed file, report the unavailable handoff. Do not substitute
the standalone commands or change the repository's tools from this skill.