Skip to content

Commit

Permalink
correctly include scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
T-256 authored and T-256 committed Apr 13, 2024
1 parent 5cf7d9a commit 51470cc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ omit = [
]
include = [
"httpcore/*",
"scripts/*",
"tests/*",
]

Expand Down
2 changes: 1 addition & 1 deletion scripts/check
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion scripts/lint
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 4 additions & 1 deletion scripts/unasync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 51470cc

Please sign in to comment.