File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,13 @@ Use the `-v` option for verbose output.
254
254
255
255
#### Dependencies
256
256
257
- The lint tests require codespell and flake8. To install: ` pip3 install codespell flake8 ` .
257
+ | Lint test | Dependency | Version [ used by CI] ( ../ci/lint/04_install.sh ) | Installation
258
+ |-----------|:----------:|:-------------------------------------------:|--------------
259
+ | [ ` lint-python.sh ` ] ( lint/lint-python.sh ) | [ flake8] ( https://gitlab.com/pycqa/flake8 ) | [ 3.7.8] ( https://github.com/bitcoin/bitcoin/pull/15257 ) | ` pip3 install flake8==3.7.8 `
260
+ | [ ` lint-shell.sh ` ] ( lint/lint-shell.sh ) | [ ShellCheck] ( https://github.com/koalaman/shellcheck ) | [ 0.6.0] ( https://github.com/bitcoin/bitcoin/pull/15166 ) | [ details...] ( https://github.com/koalaman/shellcheck#installing )
261
+ | [ ` lint-spelling.sh ` ] ( lint/lint-spelling.sh ) | [ codespell] ( https://github.com/codespell-project/codespell ) | [ 1.15.0] ( https://github.com/bitcoin/bitcoin/pull/16186 ) | ` pip3 install codespell==1.15.0 `
262
+
263
+ Please be aware that on Linux distributions all dependencies are usually available as packages, but could be outdated.
258
264
259
265
#### Running the tests
260
266
Original file line number Diff line number Diff line change @@ -82,10 +82,10 @@ enabled=(
82
82
)
83
83
84
84
if ! command -v flake8 > /dev/null; then
85
- echo " Skipping Python linting since flake8 is not installed. Install by running \" pip3 install flake8 \" "
85
+ echo " Skipping Python linting since flake8 is not installed."
86
86
exit 0
87
87
elif PYTHONWARNINGS=" ignore" flake8 --version | grep -q " Python 2" ; then
88
- echo " Skipping Python linting since flake8 is running under Python 2. Install the Python 3 version of flake8 by running \" pip3 install flake8 \" "
88
+ echo " Skipping Python linting since flake8 is running under Python 2. Install the Python 3 version of flake8. "
89
89
exit 0
90
90
fi
91
91
You can’t perform that action at this time.
0 commit comments