Skip to content

Commit

Permalink
Use custom branch for olm bindings with mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Sep 29, 2022
1 parent 48d4669 commit ac7e6e6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,13 @@ commands =

extras = dev

# The current version of python-olm that's on PyPI does not include a types marker.
# Ideally we'd just specify a custom pip install command that uses an --index-url that
# points to Olm's PyPI repo, but it looks like the packaging does not include py.typed in
# wheels. https://gitlab.matrix.org/matrix-org/olm/-/merge_requests/62 is an attempt at
# fixing this.
deps =
git+https://gitlab.matrix.org/babolivier/olm.git@babolivier/py.typed_manifest#egg=python-olm&subdirectory=python

commands =
mypy matrix_content_scanner tests

0 comments on commit ac7e6e6

Please sign in to comment.