Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
164 changed files
with
5,334 additions
and
5,158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
binderUrlSuffix: "?urlpath=lab-dev" | ||
addBinderLink: true | ||
triageLabel: "status:Needs Triage" | ||
triageLabel: "status:Needs Triage" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
special: | ||
everyone: | ||
can: | ||
can: | ||
- say | ||
- tag | ||
- untag | ||
- untag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.1.0 | ||
hooks: | ||
- id: forbid-new-submodules | ||
- id: end-of-file-fixer | ||
- id: check-case-conflict | ||
- id: check-executables-have-shebangs | ||
- id: requirements-txt-fixer | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
- id: check-toml | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: check-builtin-literals | ||
- id: trailing-whitespace | ||
exclude: .bumpversion.cfg | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 22.1.0 | ||
hooks: | ||
- id: black | ||
args: ["--line-length", "100"] | ||
|
||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
files: \.py$ | ||
args: [--profile=black] | ||
|
||
# - repo: https://github.com/pycqa/flake8 | ||
# rev: 4.0.1 | ||
# hooks: | ||
# - id: flake8 | ||
# additional_dependencies: | ||
# [ | ||
# "flake8-bugbear==20.1.4", | ||
# "flake8-logging-format==0.6.0", | ||
# "flake8-implicit-str-concat==0.2.0", | ||
# ] | ||
|
||
- repo: https://github.com/sirosen/check-jsonschema | ||
rev: 0.10.2 | ||
hooks: | ||
- id: check-jsonschema | ||
name: 'Check GitHub Workflows' | ||
files: ^\.github/workflows/ | ||
types: [yaml] | ||
args: ['--schemafile', 'https://json.schemastore.org/github-workflow'] | ||
|
||
- repo: local | ||
hooks: | ||
- id: prettier | ||
name: prettier | ||
entry: 'npm run prettier:files' | ||
language: node | ||
types_or: [json, markdown, ts, tsx, javascript, jsx, css] | ||
- id: eslint | ||
name: eslint | ||
entry: 'npm run eslint:files' | ||
language: node | ||
types_or: [ts, tsx, javascript, jsx] | ||
- id: stylelint | ||
name: stylelint | ||
entry: 'npm run stylelint:files' | ||
language: node | ||
types: [css] | ||
- id: integrity | ||
name: integrity | ||
entry: 'npm run integrity --force' | ||
language: node | ||
stages: [push] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
"singleQuote": true, | ||
"trailingComma": "none", | ||
"arrowParens": "avoid" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,59 @@ | ||
common = [ | ||
'--no-browser', | ||
'--debug', | ||
'--port={port}', | ||
'--ServerApp.ip=127.0.0.1', | ||
"--no-browser", | ||
"--debug", | ||
"--port={port}", | ||
"--ServerApp.ip=127.0.0.1", | ||
'--ServerApp.token=""', | ||
# Disable dns rebinding protection here, since our 'Host' header | ||
# is not going to be localhost when coming from hub.mybinder.org | ||
'--ServerApp.allow_remote_access=True' | ||
"--ServerApp.allow_remote_access=True", | ||
] | ||
|
||
lab_command = ' '.join([ | ||
'jupyter', | ||
'lab', | ||
'--dev-mode', | ||
'--extensions-in-dev-mode', | ||
'--collaborative', | ||
'--ServerApp.base_url={base_url}lab-dev', | ||
] + common + ['>jupyterlab-dev.log 2>&1']) | ||
|
||
|
||
lab_splice_command = ' '.join([ | ||
'jupyter', | ||
'lab', | ||
'build', | ||
'--splice-source', | ||
'--minimize=False', | ||
'--dev-build=True', | ||
'--debug', | ||
'>jupyterlab-spliced.log 2>&1', | ||
'&&', | ||
'jupyter', | ||
'lab', | ||
'--ServerApp.base_url={base_url}lab-spliced', | ||
] + common + ['>jupyterlab-spliced.log 2>&1']) | ||
lab_command = " ".join( | ||
[ | ||
"jupyter", | ||
"lab", | ||
"--dev-mode", | ||
"--extensions-in-dev-mode", | ||
"--collaborative", | ||
"--ServerApp.base_url={base_url}lab-dev", | ||
] | ||
+ common | ||
+ [">jupyterlab-dev.log 2>&1"] | ||
) | ||
|
||
|
||
lab_splice_command = " ".join( | ||
[ | ||
"jupyter", | ||
"lab", | ||
"build", | ||
"--splice-source", | ||
"--minimize=False", | ||
"--dev-build=True", | ||
"--debug", | ||
">jupyterlab-spliced.log 2>&1", | ||
"&&", | ||
"jupyter", | ||
"lab", | ||
"--ServerApp.base_url={base_url}lab-spliced", | ||
] | ||
+ common | ||
+ [">jupyterlab-spliced.log 2>&1"] | ||
) | ||
|
||
|
||
c.ServerProxy.servers = { | ||
'lab-dev': { | ||
'command': [ | ||
'/bin/bash', '-c', lab_command | ||
], | ||
'timeout': 60, | ||
'absolute_url': True | ||
"lab-dev": {"command": ["/bin/bash", "-c", lab_command], "timeout": 60, "absolute_url": True}, | ||
"lab-spliced": { | ||
"command": ["/bin/bash", "-c", lab_splice_command], | ||
"timeout": 300, | ||
"absolute_url": True, | ||
}, | ||
'lab-spliced': { | ||
'command': [ | ||
'/bin/bash', '-c', lab_splice_command | ||
], | ||
'timeout': 300, | ||
'absolute_url': True | ||
} | ||
} | ||
|
||
c.NotebookApp.default_url = '/lab-dev' | ||
c.NotebookApp.default_url = "/lab-dev" | ||
|
||
import logging | ||
|
||
c.NotebookApp.log_level = logging.DEBUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,4 @@ | |
{%- endif %} | ||
|
||
</p> | ||
</div> | ||
</div> |
Oops, something went wrong.