From c26ca6436f0c7db8a3f145058d742f1d0c48eb59 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 11 Oct 2025 16:44:21 +0000 Subject: [PATCH 1/3] Update dependency astroid to v4 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4cb76f2..63e1205 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -astroid==3.3.11 +astroid==4.0.1 attrs==25.4.0 autopep8==2.3.2 coverage==7.11.0 From 74248adc34be3c87a6a1ed51b28056f5a919ab47 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 15 Oct 2025 08:52:22 +0000 Subject: [PATCH 2/3] Update dependency pylint to v4 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 63e1205..2de234d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ platformdirs==4.5.0 pluggy==1.6.0 pycodestyle==2.14.0 pyflakes==3.4.0 -pylint==3.3.9 +pylint==4.0.1 pyright==1.1.406 pytest==8.4.2 pytest-cov==7.0.0 From 1495aa5f849b050bdcc39dc7da88940a5835869b Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Sun, 19 Oct 2025 23:59:16 -0300 Subject: [PATCH 3/3] [BUGFIX] pylint (upgrade) fixes --- src/projecteuler/helpers/word_score.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/projecteuler/helpers/word_score.py b/src/projecteuler/helpers/word_score.py index 16b6b4d..4a249ed 100644 --- a/src/projecteuler/helpers/word_score.py +++ b/src/projecteuler/helpers/word_score.py @@ -1,4 +1,4 @@ -_scoreLetter = { +SCORE_LETTER = { 'A': 1, 'B': 2, 'C': 3, @@ -32,7 +32,7 @@ def wordScore(word: str) -> int: result = 0 for letter in word: - if letter in _scoreLetter: - result += _scoreLetter[letter] + if letter in SCORE_LETTER: + result += SCORE_LETTER[letter] return result