Skip to content
Myr

lint

This file

Path

scripts/lint

16 lines · 494 bytes

Last changed by

Start using flake8, fix lint issues (#126)Seth Michael Larsonbefore adoptionc1044ca

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

Start using flake8, fix lint issues (#126)Seth Michael Larsonbefore adoptionc1044ca

lines 10–13why, one step back
10${PREFIX}autoflake --in-place --recursive http3 tests setup.py
11${PREFIX}isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --apply http3 tests setup.py12${PREFIX}black http3 tests setup.py13${PREFIX}flake8 --max-line-length=88 --ignore=W503,E203 http3 tests setup.py

http3 (#86)Tom Christiebefore adoptionc9747aa

line 14why, one step back
14${PREFIX}mypy http3 --ignore-missing-imports --disallow-untyped-defs

StuffTom Christiebefore adoption30530d4

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