Skip to content

Commit

Permalink
Fix flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jun 16, 2022
1 parent c1d95dc commit 357d1ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion panel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
from .depends import bind, depends # noqa
from .interact import interact # noqa
from .io import ( # noqa
_jupyter_server_extension_paths, cache, clear_cache, ipywidget, serve, state,
_jupyter_server_extension_paths, cache, clear_cache, ipywidget, serve,
state,
)
from .layout import ( # noqa
Accordion, Card, Column, FlexBox, GridBox, GridSpec, Row, Spacer, Tabs,
Expand Down
2 changes: 1 addition & 1 deletion panel/io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""
import sys

from .cache import cache, clear_cache # noqa
from .cache import cache, clear_cache # noqa
from .callbacks import PeriodicCallback # noqa
from .document import init_doc, unlocked, with_lock # noqa
from .embed import embed_state # noqa
Expand Down
5 changes: 2 additions & 3 deletions panel/io/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
import threading
import time
import unittest
import weakref

import unittest.mock
import weakref

import param

Expand All @@ -26,7 +25,7 @@

_FFI_TYPE_NAMES = ("_cffi_backend.FFI", "builtins.CompiledFFI",)

_HASH_MAP = dict()
_HASH_MAP = {}

_HASH_STACKS = weakref.WeakKeyDictionary()

Expand Down

0 comments on commit 357d1ca

Please sign in to comment.