Merge pull request #820 from manics/update-precommit

Update precommit
This commit is contained in:
Erik Sundell
2022-09-09 20:35:53 +02:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@
repos: repos:
# Autoformat: Python code, syntax patterns are modernized # Autoformat: Python code, syntax patterns are modernized
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.29.0 rev: v2.34.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: args:
@@ -22,19 +22,19 @@ repos:
# Autoformat: Python code # Autoformat: Python code
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 21.9b0 rev: 22.3.0
hooks: hooks:
- id: black - id: black
# Autoformat: markdown, yaml # Autoformat: markdown, yaml
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.4.1 rev: v2.7.1
hooks: hooks:
- id: prettier - id: prettier
# Misc... # Misc...
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1 rev: v4.3.0
# ref: https://github.com/pre-commit/pre-commit-hooks#hooks-available # ref: https://github.com/pre-commit/pre-commit-hooks#hooks-available
hooks: hooks:
# Autoformat: Makes sure files end in a newline and only a newline. # Autoformat: Makes sure files end in a newline and only a newline.

View File

@@ -447,7 +447,7 @@ def main():
ensure_admins(args.admin) ensure_admins(args.admin)
ensure_usergroups() ensure_usergroups()
if args.user_requirements_txt_url: if args.user_requirements_txt_url:
logger.info("installing packages from user_requirements_txt_url") logger.info("installing packages from user_requirements_txt_url")
ensure_user_environment(args.user_requirements_txt_url) ensure_user_environment(args.user_requirements_txt_url)
logger.info("Setting up JupyterHub...") logger.info("Setting up JupyterHub...")