Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ test.db
.mypy_cache/
*.egg-info/
venv/
build/
dist/
4 changes: 2 additions & 2 deletions scripts/check
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh -e

export PREFIX=""
if [ -d 'venv' ] ; then
if [ -d 'venv' ]; then
export PREFIX="venv/bin/"
fi
export SOURCE_FILES="broadcaster tests"
Expand All @@ -11,4 +11,4 @@ set -x
${PREFIX}black --check --diff --target-version=py37 $SOURCE_FILES
${PREFIX}flake8 $SOURCE_FILES
${PREFIX}mypy $SOURCE_FILES
${PREFIX}isort --check --diff --project=httpx $SOURCE_FILES
${PREFIX}isort --check --diff --project=broadcaster $SOURCE_FILES
6 changes: 3 additions & 3 deletions scripts/lint
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/sh -e

export PREFIX=""
if [ -d 'venv' ] ; then
if [ -d 'venv' ]; then
export PREFIX="venv/bin/"
fi
export SOURCE_FILES="httpx tests"
export SOURCE_FILES="broadcaster tests"

set -x

${PREFIX}autoflake --in-place --recursive $SOURCE_FILES
${PREFIX}isort --project=httpx $SOURCE_FILES
${PREFIX}isort --project=broadcaster $SOURCE_FILES
${PREFIX}black --target-version=py37 $SOURCE_FILES
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ markers =

[coverage:run]
omit = venv/*
include = httpx/*, tests/*
include = broadcaster/*, tests/*