mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-09 19:31:13 +02:00
script: update flake8 to 6.1.0
and touch up the spelling returned by lint-spelling.py
This commit is contained in:
parent
38c3fd846b
commit
bee2d57a65
@ -35,7 +35,7 @@ python3 --version
|
|||||||
|
|
||||||
${CI_RETRY_EXE} pip3 install \
|
${CI_RETRY_EXE} pip3 install \
|
||||||
codespell==2.2.5 \
|
codespell==2.2.5 \
|
||||||
flake8==6.0.0 \
|
flake8==6.1.0 \
|
||||||
lief==0.13.2 \
|
lief==0.13.2 \
|
||||||
mypy==1.4.1 \
|
mypy==1.4.1 \
|
||||||
pyzmq==25.1.0 \
|
pyzmq==25.1.0 \
|
||||||
|
@ -85,7 +85,7 @@ public:
|
|||||||
std::string desc;
|
std::string desc;
|
||||||
desc.reserve(mocked_desc.size());
|
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();) {
|
for (size_t i = 0; i < mocked_desc.size();) {
|
||||||
if (mocked_desc[i] == '%') {
|
if (mocked_desc[i] == '%') {
|
||||||
if (i + 3 >= mocked_desc.size()) return {};
|
if (i + 3 >= mocked_desc.size()) return {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user