mirror of
https://github.com/astral-sh/uv
synced 2026-01-20 21:10:10 -05:00
Fast lint CI job: Rustfmt, Prettier, Ruff (#2406)
Add a single job for for fast lint tools. Rustfmt for rust, ruff for python formatting and linting, prettier avoids inconsistent formatter changes between pycharm and vscode.
This commit is contained in:
@@ -22,6 +22,7 @@ def _detect_virtualenv() -> str:
|
||||
|
||||
return ""
|
||||
|
||||
|
||||
def _run() -> None:
|
||||
uv = os.fsdecode(find_uv_bin())
|
||||
|
||||
@@ -39,6 +40,5 @@ def _run() -> None:
|
||||
os.execvpe(uv, [uv, *sys.argv[1:]], env=env)
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
_run()
|
||||
|
||||
Reference in New Issue
Block a user