Skip to content
Myr

check

This file

Path

scripts/check

14 lines · 319 bytes

Last changed by

Not known.

History of this file

Take it

Drop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78

lines 1–14why, one step back
1#!/bin/sh -e
23export PREFIX=""4if [ -d 'venv' ] ; then5 export PREFIX="venv/bin/"6fi7export SOURCE_FILES="httpx tests"89set -x1011${PREFIX}black --check --diff --target-version=py36 $SOURCE_FILES12${PREFIX}flake8 $SOURCE_FILES13${PREFIX}mypy httpx14${PREFIX}isort --check --diff --project=httpx --recursive $SOURCE_FILES