0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

Remove clang-format from lint task

clang-format could be used in scripted diffs, but remained largely
unused.
This commit is contained in:
MacroFake 2022-10-02 18:03:25 +02:00
parent d3cdd37d92
commit fa04376554
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -7,7 +7,7 @@
export LC_ALL=C export LC_ALL=C
${CI_RETRY_EXE} apt-get update ${CI_RETRY_EXE} apt-get update
${CI_RETRY_EXE} apt-get install -y clang-format-9 python3-pip curl git gawk jq ${CI_RETRY_EXE} apt-get install -y python3-pip curl git gawk jq
( (
# Temporary workaround for https://github.com/bitcoin/bitcoin/pull/26130#issuecomment-1260499544 # Temporary workaround for https://github.com/bitcoin/bitcoin/pull/26130#issuecomment-1260499544
# Can be removed once the underlying image is bumped to something that includes git2.34 or later # Can be removed once the underlying image is bumped to something that includes git2.34 or later
@ -15,8 +15,6 @@ ${CI_RETRY_EXE} apt-get install -y clang-format-9 python3-pip curl git gawk jq
${CI_RETRY_EXE} apt-get update ${CI_RETRY_EXE} apt-get update
${CI_RETRY_EXE} apt-get install -y --reinstall git ${CI_RETRY_EXE} apt-get install -y --reinstall git
) )
update-alternatives --install /usr/bin/clang-format clang-format "$(which clang-format-9 )" 100
update-alternatives --install /usr/bin/clang-format-diff clang-format-diff "$(which clang-format-diff-9)" 100
${CI_RETRY_EXE} pip3 install codespell==2.2.1 ${CI_RETRY_EXE} pip3 install codespell==2.2.1
${CI_RETRY_EXE} pip3 install flake8==4.0.1 ${CI_RETRY_EXE} pip3 install flake8==4.0.1