Skip to content
Myr

lint

This file

Path

scripts/lint

13 lines · 283 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 8c64e0c point at it.

Inline SERVER_SCOPE and remove typing_extensions requirement (#1773)Michał Górnybefore adoption8c64e0c

lines 1–12why, 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}autoflake --in-place --recursive $SOURCE_FILES12${PREFIX}isort --project=httpx $SOURCE_FILES

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

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