Skip to content

Commit 51470cc

Browse files
T-256T-256
T-256
authored and
T-256
committed
correctly include scripts
1 parent 5cf7d9a commit 51470cc

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ omit = [
101101
]
102102
include = [
103103
"httpcore/*",
104-
"scripts/*",
105104
"tests/*",
106105
]
107106

scripts/check

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export PREFIX=""
44
if [ -d 'venv' ] ; then
55
export PREFIX="venv/bin/"
66
fi
7-
export SOURCE_FILES="httpcore tests"
7+
export SOURCE_FILES="httpcore scripts tests"
88

99
set -x
1010

scripts/lint

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export PREFIX=""
44
if [ -d 'venv' ] ; then
55
export PREFIX="venv/bin/"
66
fi
7-
export SOURCE_FILES="httpcore tests"
7+
export SOURCE_FILES="httpcore scripts tests"
88

99
set -x
1010

scripts/unasync.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
from pprint import pprint
66

77
SUBS = [
8-
('from .._backends.auto import AutoBackend', 'from .._backends.sync import SyncBackend'),
8+
(
9+
"from .._backends.auto import AutoBackend",
10+
"from .._backends.sync import SyncBackend",
11+
),
912
("import trio as concurrency", "from tests import concurrency"),
1013
("AsyncIterator", "Iterator"),
1114
("Async([A-Z][A-Za-z0-9_]*)", r"\2"),

0 commit comments

Comments
 (0)