Skip to content
Myr

lint

This file

Path

scripts/lint

15 lines · 402 bytes

Last changed by

StuffTom Christiebefore adoption30530d4

History of this file

Take it

StuffTom Christiebefore adoption30530d4

lines 1–15why, one step back
1#!/bin/sh -e
23export PREFIX=""4if [ -d 'venv' ] ; then5 export PREFIX="venv/bin/"6fi78set -x910${PREFIX}autoflake --in-place --recursive httpcore tests11${PREFIX}black httpcore tests12${PREFIX}isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --apply httpcore tests13${PREFIX}mypy httpcore --ignore-missing-imports --disallow-untyped-defs1415scripts/clean