Skip to content
Myr

lint

This file

Path

scripts/lint

16 lines · 499 bytes

Last changed by

Add additional flake8 plugins (#157)Can Sarıgölbefore adoption7e9110b

History of this file

Take it

1#!/bin/sh -e23export PREFIX=""4if [ -d 'venv' ] ; then5    export PREFIX="venv/bin/"6fi78set -x910${PREFIX}autoflake --in-place --recursive httpx tests setup.py11${PREFIX}isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --apply httpx tests setup.py12${PREFIX}black httpx tests setup.py13${PREFIX}flake8 --max-line-length=88 --ignore=W503,E203,B305 httpx tests setup.py14${PREFIX}mypy httpx --ignore-missing-imports --disallow-untyped-defs1516scripts/clean