From ffeff51af114a6cc25d697782e07baa7a8e814a1 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Sat, 20 Aug 2022 07:41:13 +0200 Subject: [PATCH] Replace references to httpx by broadcaster --- .gitignore | 2 ++ scripts/check | 4 ++-- scripts/lint | 6 +++--- setup.cfg | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index fe79e5d..013870b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ test.db .mypy_cache/ *.egg-info/ venv/ +build/ +dist/ diff --git a/scripts/check b/scripts/check index 77acf65..5ee0190 100755 --- a/scripts/check +++ b/scripts/check @@ -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" @@ -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 diff --git a/scripts/lint b/scripts/lint index 81851c6..db86237 100755 --- a/scripts/lint +++ b/scripts/lint @@ -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 diff --git a/setup.cfg b/setup.cfg index c860d81..37b5d85 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,4 +21,4 @@ markers = [coverage:run] omit = venv/* -include = httpx/*, tests/* +include = broadcaster/*, tests/*