Skip to content

Commit 813121c

Browse files
Clarify requirements for stubtest
1 parent 58c2d05 commit 813121c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stubs/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# Test the stubs for pyscipopt using stubtest
44
# This checks that the type hints in the stubs are consistent with the actual implementation
5-
# Prerequisite: install mypy in same environment as pyscipopt and put stubtest in PATH
5+
# Prerequisite: install mypy (which provides stubtest) in the same environment as pyscipopt
66
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
7-
stubtest \
7+
python -m mypy.stubtest \
88
--allowlist "$SCRIPT_DIR/allowlist" \
99
--allowlist "$SCRIPT_DIR/todo" \
1010
pyscipopt

0 commit comments

Comments
 (0)