Skip to content

Commit 0ff2b3e

Browse files
Balandatfacebook-github-bot
authored andcommitted
Properly ingore unused import lint (#2343)
Summary: Pull Request resolved: #2343 #2339 attempted to ignore an unused import lint, but did so incorrectly. This fixed that. Reviewed By: saitcakmak Differential Revision: D57280457 fbshipit-source-id: be1834c55eb24647929ce935d2f1b4af31d6fa4d
1 parent 1d2f840 commit 0ff2b3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

botorch/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
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 # noqa: F401
31+
# lint-ignore: UnusedImportsRule
32+
from botorch.version import version as __version__ # @manual
3233
except Exception: # pragma: no cover
3334
__version__ = "Unknown"
3435

0 commit comments

Comments
 (0)