Skip to content

Commit c621fbf

Browse files
committed
flake8: define traitlets config object c
1 parent 5d1e1e8 commit c621fbf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

contrib/code-server-traitlet/jupyter_notebook_config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# load the config object for traitlets based configuration
2+
c = get_config() # noqa
3+
4+
15
c.ServerProxy.servers = {
26
'code-server': {
37
'command': [

tests/resources/jupyter_server_config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# load the config object for traitlets based configuration
2+
c = get_config() # noqa
3+
4+
15
def mappathf(path):
26
p = path + 'mapped'
37
return p

0 commit comments

Comments
 (0)