File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ package that does all the Hypothesis-related setup work:
177
177
178
178
and then declare this as your ``"hypothesis" `` entry point:
179
179
180
- .. code-block :: python
180
+ .. code-block :: toml
181
181
182
182
# pyproject.toml
183
183
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ $PYTEST tests/typing_extensions/
36
36
pip uninstall -y typing_extensions
37
37
38
38
pip install " .[lark]"
39
- pip install " $( grep -oE ' lark>=([0-9.]+)' ../hypothesis-python/pyproject.toml | tr ' >' =) "
39
+ pip install " $( grep -m 1 - oE ' lark>=([0-9.]+)' ../hypothesis-python/pyproject.toml | tr ' >' =) "
40
40
$PYTEST -Wignore tests/lark/
41
41
pip install " $( grep ' lark==' ../requirements/coverage.txt) "
42
42
$PYTEST tests/lark/
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ $PYTEST tests/test_annotated_types.py
40
40
pip uninstall -y annotated-types
41
41
42
42
pip install " .[lark]"
43
- pip install " $( grep -oE ' lark>=([0-9.]+)' ../hypothesis-python/pyproject.toml | tr ' >' =) "
43
+ pip install " $( grep -m 1 - oE ' lark>=([0-9.]+)' ../hypothesis-python/pyproject.toml | tr ' >' =) "
44
44
$PYTEST -Wignore tests/lark/
45
45
pip install " $( grep ' lark==' ../requirements/coverage.txt) "
46
46
$PYTEST tests/lark/
Original file line number Diff line number Diff line change 53
53
allowlist_externals =
54
54
bash
55
55
commands =
56
- bash -c " pip install --only-binary=:all: numpy==$(grep 'numpy>=' pyproject.toml | grep -oE '[0-9.]+')"
56
+ bash -c " pip install --only-binary=:all: numpy==$(grep -m 1 'numpy>=' pyproject.toml | grep -oE '[0-9.]+')"
57
57
python -bb -X dev -m pytest tests/numpy/ -n auto
58
58
59
59
# This test job runs against the nightly version of `numpy`
You can’t perform that action at this time.
0 commit comments