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:
konsti 2024-03-20 01:16:46 +01:00 committed by GitHub
parent ab99a18cbc
commit 79fbac7af5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 31 additions and 22 deletions

View file

@ -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()