Skip to content

Commit

Permalink
updated numba version and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Rauber committed Jul 3, 2020
1 parent 9583dd3 commit 9840701
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion foolbox/attacks/brendel_bethge.py
Expand Up @@ -22,7 +22,7 @@


try:
from numba import jitclass # type: ignore
from numba.experimental import jitclass # type: ignore
import numba
except (ModuleNotFoundError, ImportError) as e: # pragma: no cover
# delay the error until the attack is initialized
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Expand Up @@ -7,4 +7,3 @@ codecov==2.0.15
coveralls==1.10.0
mypy==0.770
pre-commit==2.3.0
responses==0.10.9
3 changes: 3 additions & 0 deletions setup.cfg
Expand Up @@ -51,6 +51,9 @@ ignore_missing_imports = True
[mypy-responses.*]
ignore_missing_imports = True

[mypy-numba]
ignore_missing_imports = True

[tool:pytest]
addopts =
--verbose
Expand Down
3 changes: 2 additions & 1 deletion tests/requirements.txt
Expand Up @@ -3,7 +3,8 @@ torchvision==0.5.0
jaxlib==0.1.46
jax==0.1.66
tensorflow==2.0.1
numba==0.47.0
numba==0.50.1
matplotlib==3.2.1
pillow==7.1.2
tensorboardX==2.0
responses==0.10.9

0 comments on commit 9840701

Please sign in to comment.