mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
Merge pull request #2810 from jgwerner/pre-commit-config
chore: Bump package versions used in pre-commit config
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/asottile/reorder_python_imports
|
- repo: https://github.com/asottile/reorder_python_imports
|
||||||
rev: v1.3.5
|
rev: v1.8.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: reorder-python-imports
|
- id: reorder-python-imports
|
||||||
language_version: python3.6
|
language_version: python3.6
|
||||||
- repo: https://github.com/ambv/black
|
- repo: https://github.com/ambv/black
|
||||||
rev: 18.9b0
|
rev: 19.10b0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v2.1.0
|
rev: v2.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: check-json
|
- id: check-json
|
||||||
|
@@ -152,8 +152,8 @@ flags = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
COOKIE_SECRET_BYTES = (
|
COOKIE_SECRET_BYTES = (
|
||||||
32
|
32 # the number of bytes to use when generating new cookie secrets
|
||||||
) # the number of bytes to use when generating new cookie secrets
|
)
|
||||||
|
|
||||||
HEX_RE = re.compile('^([a-f0-9]{2})+$', re.IGNORECASE)
|
HEX_RE = re.compile('^([a-f0-9]{2})+$', re.IGNORECASE)
|
||||||
|
|
||||||
|
@@ -334,8 +334,8 @@ class SingleUserNotebookApp(NotebookApp):
|
|||||||
login_handler_class = JupyterHubLoginHandler
|
login_handler_class = JupyterHubLoginHandler
|
||||||
logout_handler_class = JupyterHubLogoutHandler
|
logout_handler_class = JupyterHubLogoutHandler
|
||||||
port_retries = (
|
port_retries = (
|
||||||
0
|
0 # disable port-retries, since the Spawner will tell us what port to use
|
||||||
) # disable port-retries, since the Spawner will tell us what port to use
|
)
|
||||||
|
|
||||||
disable_user_config = Bool(
|
disable_user_config = Bool(
|
||||||
False,
|
False,
|
||||||
|
Reference in New Issue
Block a user