script: update flake8 to 6.1.0

and touch up the spelling returned by lint-spelling.py
pull/28194/head
Jon Atack 1 year ago
parent 38c3fd846b
commit bee2d57a65

@ -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 \

@ -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 {};

Loading…
Cancel
Save