diff --git a/.github/workflows/pypipublish_windows.yml b/.github/workflows/pypipublish_windows.yml index d619748c..84d4d4b2 100644 --- a/.github/workflows/pypipublish_windows.yml +++ b/.github/workflows/pypipublish_windows.yml @@ -24,7 +24,7 @@ jobs: python -m pip install --upgrade pip python -m pip install setuptools wheel twine auditwheel - name: Setup msbuild - uses: microsoft/setup-msbuild@v1.0.0 + uses: microsoft/setup-msbuild@v1.0.2 - name: Setup Bazel uses: abhinavsingh/setup-bazel@v3 - name: Build PyDP diff --git a/examples/Tutorial_2-restaurant_demo/restaurant.py b/examples/Tutorial_2-restaurant_demo/restaurant.py index d97fd733..14d9b379 100644 --- a/examples/Tutorial_2-restaurant_demo/restaurant.py +++ b/examples/Tutorial_2-restaurant_demo/restaurant.py @@ -1,5 +1,5 @@ import pydp as dp # type: ignore -from pydp.algorithms.laplacian import BoundedSum, Count # type: ignore +from pydp.algorithms.laplacian import BoundedSum, Count # import math import statistics as s diff --git a/tests/algorithms/test_bounded_mean.py b/tests/algorithms/test_bounded_mean.py index 4210b650..310c337b 100644 --- a/tests/algorithms/test_bounded_mean.py +++ b/tests/algorithms/test_bounded_mean.py @@ -1,7 +1,7 @@ import os import pytest -from pydp.algorithms.laplacian import BoundedMean -from pydp._pydp import Summary +from pydp.algorithms.laplacian import BoundedMean # type: ignore +from pydp._pydp import Summary # type: ignore expect_near = lambda expected, actual, tol: ( diff --git a/tests/algorithms/test_distributions.py b/tests/algorithms/test_distributions.py index 52d8184b..812f981a 100644 --- a/tests/algorithms/test_distributions.py +++ b/tests/algorithms/test_distributions.py @@ -1,9 +1,9 @@ import pytest from pydp.distributions import ( - LaplaceDistribution, - GaussianDistribution, - GeometricDistribution, -) + LaplaceDistribution, # type: ignore + GaussianDistribution, # type: ignore + GeometricDistribution, # type: ignore +) import pydp as dp import math from typing import List diff --git a/tests/algorithms/test_rand.py b/tests/algorithms/test_rand.py index 21c67770..acf29fcb 100644 --- a/tests/algorithms/test_rand.py +++ b/tests/algorithms/test_rand.py @@ -1,5 +1,5 @@ import pytest -from pydp.util import Geometric, UniformDouble +from pydp.util import Geometric, UniformDouble # type: ignore def test_rand_UniformDouble():