Skip to content

Commit

Permalink
Rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
vshampor committed Sep 18, 2023
1 parent 42c9060 commit e8bdba2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nncf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
_SUPPORTED_FRAMEWORKS = ["torch", "tensorflow", "onnx", "openvino"]


from importlib.util import find_spec as _find_spec # pylint:disable=wrong-import-position
from pathlib import Path as _Path # pylint:disable=wrong-import-position
from importlib.util import find_spec as _find_spec # noqa: E402 # pylint:disable=wrong-import-position
from pathlib import Path as _Path # noqa: E402 # pylint:disable=wrong-import-position

_AVAILABLE_FRAMEWORKS = {}

Expand Down
2 changes: 1 addition & 1 deletion tests/torch/pytorch_patch_isolated.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_jit_script_exception_preserves_patching_isolated():

try:
torch.jit.script(compressed_model) # supposed to fail since torch.jit.script does not support NNCF models
except: # pylint:disable=bare-except
except: # noqa: E722 # pylint:disable=bare-except
pass

# torch.nn.Module.__call__ is one of the fundamental patched functions, if the code object points to NNCF code,
Expand Down

0 comments on commit e8bdba2

Please sign in to comment.