From eb45a473ec6ddc215cc41ab6a5ba9f6636b3e576 Mon Sep 17 00:00:00 2001 From: Fabien Cazenave Date: Tue, 26 Nov 2024 03:42:59 +0100 Subject: [PATCH] linter fixes --- kalamine/server.py | 2 +- kalamine/www/mjs/stats-canvas.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kalamine/server.py b/kalamine/server.py index fb3f7a7..ca1bf91 100644 --- a/kalamine/server.py +++ b/kalamine/server.py @@ -43,7 +43,7 @@ def main_page(layout: KeyboardLayout, angle_mod: bool = False) -> str:

kalamine - v{metadata.version('kalamine')}
🦆 + v{metadata.version('kalamine')}
\U0001f986

Name
diff --git a/kalamine/www/mjs/stats-canvas.js b/kalamine/www/mjs/stats-canvas.js index b65ad7e..07d94d6 100644 --- a/kalamine/www/mjs/stats-canvas.js +++ b/kalamine/www/mjs/stats-canvas.js @@ -71,7 +71,7 @@ class StatsCanvas extends HTMLElement { const scale = canvas.height / maxValue; - const renderBarPart = (groupIndex, columnIndex, column, flipVerically) => { + const renderBarPart = (groupIndex, columnIndex, column) => { let renderedBarHeight = 0; const colors = Object.entries(this.colors);