Skip to content
Myr

lint

This file

Path

scripts/lint

12 lines · 205 bytes

Last changed by

Move remaining utility functions from _utils.py to _models.py (#3387)RafaelWObefore adoption41597ad

History of this file

Take it

1#!/bin/sh -e23export PREFIX=""4if [ -d 'venv' ]; then5    export PREFIX="venv/bin/"6fi7export SOURCE_FILES="httpx tests"89set -x1011${PREFIX}ruff check --fix $SOURCE_FILES12${PREFIX}ruff format $SOURCE_FILES