Skip to content

Commit

Permalink
Add support for lazy annotations boilerplate (#11220)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpap committed Apr 29, 2021
1 parent dc42b28 commit af9183f
Show file tree
Hide file tree
Showing 293 changed files with 586 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bokeh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/plugins/bokeh_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/plugins/file_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/plugins/ipython.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/plugins/jupyter_notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/plugins/log_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/plugins/managed_server_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/plugins/pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/plugins/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/plugins/selenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/util/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/util/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/util/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/util/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/util/screenshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/_testing/util/selenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def make_doc(doc):
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/code_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/document_lifecycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def make_doc(doc):
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def modify_document(self, doc):
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/lifecycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/request_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/server_lifecycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/application/handlers/server_request_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/client/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/client/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/client/states.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/client/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/client/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/colors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/colors/color.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/colors/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
2 changes: 2 additions & 0 deletions bokeh/colors/hsl.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import annotations

import logging # isort:skip
log = logging.getLogger(__name__)

Expand Down
Loading

0 comments on commit af9183f

Please sign in to comment.