Skip to content
Myr

lint

This file

Path

scripts/lint

16 lines · 494 bytes

Last changed by

Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b

History of this file

Take it

StuffTom Christiebefore adoption30530d4

lines 1–9why, one step back
1#!/bin/sh -e
23export PREFIX=""4if [ -d 'venv' ] ; then5 export PREFIX="venv/bin/"6fi78set -x9

Renaming -> httpx (#129)Tom Christiebefore adoption2d09d5b

lines 10–14why, one step back
10${PREFIX}autoflake --in-place --recursive httpx tests setup.py
11${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 httpx tests setup.py14${PREFIX}mypy httpx --ignore-missing-imports --disallow-untyped-defs

StuffTom Christiebefore adoption30530d4

lines 15–16why, one step back
15
16scripts/clean