From f2965e7c084dbbfcbc1f389f935a40bef24a7d93 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 16:24:06 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.4 → v0.1.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.4...v0.1.5) - [github.com/psf/black: 23.10.1 → 23.11.0](https://github.com/psf/black/compare/23.10.1...23.11.0) - [github.com/pre-commit/mirrors-prettier: v3.0.3 → v3.1.0](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.3...v3.1.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 604ab19ee..246a00197 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -55,7 +55,7 @@ repos: - id: pyupgrade args: ['--keep-runtime-typing', '--py311-plus'] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.4 + rev: v0.1.5 hooks: - id: ruff args: ['--fix', '--exit-non-zero-on-fix'] @@ -101,7 +101,7 @@ repos: additional_dependencies: - tomli - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 23.11.0 hooks: - id: black # Mypy is temporarily disabled until the SQLAlchemy 2.0 migration is complete @@ -211,7 +211,7 @@ repos: - id: forbid-tabs - id: remove-tabs - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v3.1.0 hooks: - id: prettier args: From 24450eb9dfb275239e19e227d18128a6279176b7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 16:30:40 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- funnel/assets/js/schedule_view.js | 5 ++--- funnel/static/js/libs/mui.js | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/funnel/assets/js/schedule_view.js b/funnel/assets/js/schedule_view.js index 63875eecd..538b82d94 100644 --- a/funnel/assets/js/schedule_view.js +++ b/funnel/assets/js/schedule_view.js @@ -276,9 +276,8 @@ const Schedule = { this.config.slotInterval ); if (this.config.schedule[session.eventDay]) { - this.config.schedule[session.eventDay].sessions[ - session.startTime - ].showLabel = true; + this.config.schedule[session.eventDay].sessions[session.startTime].showLabel = + true; this.config.schedule[session.eventDay].sessions[session.startTime].rooms[ session.room_scoped_name ].talk = session; diff --git a/funnel/static/js/libs/mui.js b/funnel/static/js/libs/mui.js index 64e9d3266..84def4732 100644 --- a/funnel/static/js/libs/mui.js +++ b/funnel/static/js/libs/mui.js @@ -723,10 +723,10 @@ 27 === e ? i.destroy() : 40 === e - ? i.increment() - : 38 === e - ? i.decrement() - : 13 === e && (i.selectCurrent(), i.destroy()); + ? i.increment() + : 38 === e + ? i.decrement() + : 13 === e && (i.selectCurrent(), i.destroy()); } else (32 !== e && 38 !== e && 40 !== e) || (t.preventDefault(), u(this)); } }