lint
This file
Path
scripts/lint
12 lines · 216 bytes
Last changed by
Use ruff instead of flake8, autoflake and isort (#2648)Marcelo Trylesinskibefore adoptiondaec2bd
History of this fileTake it
The walk stopped after 200 commits: lines older than f6b7657 point at it.
Version 0.21.2 (#2011)Tom Christiebefore adoptionf6b7657
lines 1–10why, one step back1#!/bin/sh -e23export PREFIX=""4if [ -d 'venv' ] ; then5 export PREFIX="venv/bin/"6fi7export SOURCE_FILES="httpx tests"89set -x10Use ruff instead of flake8, autoflake and isort (#2648)Marcelo Trylesinskibefore adoptiondaec2bd
line 11why, one step back11${PREFIX}ruff --fix $SOURCE_FILESReplace `black` Python target version from 3.6 to 3.7 (#2343)Marcelo Trylesinskibefore adoptiona754e71
line 12why, one step back12${PREFIX}black --target-version=py37 $SOURCE_FILES