Skip to content

Commit 20db4d5

Browse files
Balandatfacebook-github-bot
authored andcommitted
Ignore "unused" import
Summary: Some linters may falsely label this as an unused import (this is used in OSS for determining version numbers). Suppressing this false positive. Reviewed By: esantorella Differential Revision: D57209605 fbshipit-source-id: f2c64f6d0295cc2e4183faafd2d763c5de14b5d8
1 parent 5c8b8ae commit 20db4d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

botorch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
try:
2929
# Marking this as a manual import to avoid autodeps complaints
3030
# due to imports from non-existent file.
31-
from botorch.version import version as __version__ # @manual
31+
from botorch.version import version as __version__ # @manual # noqa: F401
3232
except Exception: # pragma: no cover
3333
__version__ = "Unknown"
3434

0 commit comments

Comments
 (0)