mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-10 02:22:08 +00: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:
parent
ab99a18cbc
commit
79fbac7af5
7 changed files with 31 additions and 22 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue