Skip to content
Myr

check

This file

Path

scripts/check

14 lines · 282 bytes

Last changed by

Fix ruff error and script (#2680)Amin Alaeebefore adoption32e2549

History of this file

Take it

1#!/bin/sh -e23export PREFIX=""4if [ -d 'venv' ] ; then5    export PREFIX="venv/bin/"6fi7export SOURCE_FILES="httpx tests"89set -x1011./scripts/sync-version12${PREFIX}black --check --diff --target-version=py37 $SOURCE_FILES13${PREFIX}mypy $SOURCE_FILES14${PREFIX}ruff check $SOURCE_FILES