Skip to content
Myr

lint

This file

Path

scripts/lint

15 lines · 390 bytes

Last changed by

http3 (#86)Tom Christiebefore adoptionc9747aa

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

http3 (#86)Tom Christiebefore adoptionc9747aa

lines 10–13why, one step back
10${PREFIX}autoflake --in-place --recursive http3 tests
11${PREFIX}black http3 tests12${PREFIX}isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --apply http3 tests13${PREFIX}mypy http3 --ignore-missing-imports --disallow-untyped-defs

StuffTom Christiebefore adoption30530d4

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