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: 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)); } }