From bee2d57a655645dbfaf0242e85c5af034023a2fb Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Mon, 31 Jul 2023 12:10:06 -0600 Subject: [PATCH] script: update flake8 to 6.1.0 and touch up the spelling returned by lint-spelling.py --- ci/lint/04_install.sh | 2 +- src/test/fuzz/descriptor_parse.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/lint/04_install.sh b/ci/lint/04_install.sh index dbbd01e507..8113500fb2 100755 --- a/ci/lint/04_install.sh +++ b/ci/lint/04_install.sh @@ -35,7 +35,7 @@ python3 --version ${CI_RETRY_EXE} pip3 install \ codespell==2.2.5 \ - flake8==6.0.0 \ + flake8==6.1.0 \ lief==0.13.2 \ mypy==1.4.1 \ pyzmq==25.1.0 \ diff --git a/src/test/fuzz/descriptor_parse.cpp b/src/test/fuzz/descriptor_parse.cpp index b879b0d141..8ed659323c 100644 --- a/src/test/fuzz/descriptor_parse.cpp +++ b/src/test/fuzz/descriptor_parse.cpp @@ -85,7 +85,7 @@ public: std::string desc; desc.reserve(mocked_desc.size()); - // Replace all occurences of '%' followed by two hex characters with the corresponding key. + // Replace all occurrences of '%' followed by two hex characters with the corresponding key. for (size_t i = 0; i < mocked_desc.size();) { if (mocked_desc[i] == '%') { if (i + 3 >= mocked_desc.size()) return {};