Skip to content
Myr

lint

This file

Path

scripts/lint

14 lines · 342 bytes

Last changed by

Make isort configuration compatible with isort v5 (#1050)Taneli Hukkinenbefore adoption8dea2c2

History of this file

Take it

The walk stopped after 200 commits: lines older than 367bff6 point at it.

Use www.python-httpx.org domainTom Christiebefore adoption367bff6

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}seed-isort-config --application-directories=httpx

Make isort configuration compatible with isort v5 (#1050)Taneli Hukkinenbefore adoption8dea2c2

line 13why, one step back
13${PREFIX}isort --project=httpx $SOURCE_FILES

Use www.python-httpx.org domainTom Christiebefore adoption367bff6

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