Skip to content
Myr

lint

This file

Path

scripts/lint

12 lines · 193 bytes

Last changed by

remove unnecessary black argument (#2817)Trim21before adoption76c9cb6

History of this file

Take it

The walk stopped after 200 commits: lines older than 67c2970 point at it.

Drop EOL Python 3.6 (#2097)Ofek Levbefore adoption67c2970

lines 1–3why, one step back
1#!/bin/sh -e
23export PREFIX=""

remove unnecessary black argument (#2817)Trim21before adoption76c9cb6

line 4why, one step back
4if [ -d 'venv' ]; then

Drop EOL Python 3.6 (#2097)Ofek Levbefore adoption67c2970

lines 5–10why, one step back
5 export PREFIX="venv/bin/"
6fi7export SOURCE_FILES="httpx tests"89set -x10

Use ruff instead of flake8, autoflake and isort (#2648)Marcelo Trylesinskibefore adoptiondaec2bd

line 11why, one step back
11${PREFIX}ruff --fix $SOURCE_FILES

remove unnecessary black argument (#2817)Trim21before adoption76c9cb6

line 12why, one step back
12${PREFIX}black $SOURCE_FILES