diff --git a/pyproject.toml b/pyproject.toml index dbce8579c..d65e3f071 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,7 +101,6 @@ omit = [ ] include = [ "httpcore/*", - "scripts/*", "tests/*", ] diff --git a/scripts/check b/scripts/check index cfc909184..511f4f6ce 100755 --- a/scripts/check +++ b/scripts/check @@ -4,7 +4,7 @@ export PREFIX="" if [ -d 'venv' ] ; then export PREFIX="venv/bin/" fi -export SOURCE_FILES="httpcore tests" +export SOURCE_FILES="httpcore scripts tests" set -x diff --git a/scripts/lint b/scripts/lint index e40524f52..a57414b33 100755 --- a/scripts/lint +++ b/scripts/lint @@ -4,7 +4,7 @@ export PREFIX="" if [ -d 'venv' ] ; then export PREFIX="venv/bin/" fi -export SOURCE_FILES="httpcore tests" +export SOURCE_FILES="httpcore scripts tests" set -x diff --git a/scripts/unasync.py b/scripts/unasync.py index a312e515b..1ed8ece46 100644 --- a/scripts/unasync.py +++ b/scripts/unasync.py @@ -5,7 +5,10 @@ from pprint import pprint SUBS = [ - ('from .._backends.auto import AutoBackend', 'from .._backends.sync import SyncBackend'), + ( + "from .._backends.auto import AutoBackend", + "from .._backends.sync import SyncBackend", + ), ("import trio as concurrency", "from tests import concurrency"), ("AsyncIterator", "Iterator"), ("Async([A-Z][A-Za-z0-9_]*)", r"\2"),