Skip to content
Myr

check

This file

Path

scripts/check

15 lines · 338 bytes

Last changed by

Replace `black` Python target version from 3.6 to 3.7 (#2343)Marcelo Trylesinskibefore adoptiona754e71

History of this file

Take it

The walk stopped after 200 commits: lines older than 1752e4d point at it.

Run CI on 3.9.5 (#1887)Tom Christiebefore adoption1752e4d

lines 1–10why, one step back
1#!/bin/sh -e
23export PREFIX=""4if [ -d 'venv' ] ; then5 export PREFIX="venv/bin/"6fi7export SOURCE_FILES="httpx tests"89set -x10

Add script to make sure CHANGELOG is always in sync with `__version__` (#2297)Marcelo Trylesinskibefore adoption2b2269d

line 11why, one step back
11./scripts/sync-version

Replace `black` Python target version from 3.6 to 3.7 (#2343)Marcelo Trylesinskibefore adoptiona754e71

line 12why, one step back
12${PREFIX}black --check --diff --target-version=py37 $SOURCE_FILES

Run CI on 3.9.5 (#1887)Tom Christiebefore adoption1752e4d

lines 13–15why, one step back
13${PREFIX}flake8 $SOURCE_FILES
14${PREFIX}mypy $SOURCE_FILES15${PREFIX}isort --check --diff --project=httpx $SOURCE_FILES