Skip to content

Commit

Permalink
Add mypy-requirements to keep mypy version
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Jul 3, 2024
1 parent eaf1620 commit 976980e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions mypy-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mypy==1.9.0
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ envlist =
deps =
coverage: pytest
coverage: pytest-cov
mypy,mypyinstalled: mypy

; proto 3 and 4 tests install the respective version of protobuf
proto3: protobuf~=3.19.0
Expand All @@ -109,6 +108,8 @@ setenv =

commands_pre =

mypy: pip install -r {toxinidir}/mypy-requirements.txt

api: pip install -r {toxinidir}/opentelemetry-api/test-requirements.txt

sdk: pip install -r {toxinidir}/opentelemetry-sdk/test-requirements.txt
Expand Down

0 comments on commit 976980e

Please sign in to comment.