diff --git a/.arclint b/.arclint --- a/.arclint +++ b/.arclint @@ -259,7 +259,7 @@ }, "lint-python-mypy": { "type": "lint-python-mypy", - "version": ">=0.780", + "version": ">=0.910", "include": "(\\.py$)", "exclude": [ "(^contrib/gitian-builder/)", diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -135,7 +135,7 @@ Install all the code formatting tools on Debian Bullseye (11) or Ubuntu 20.04: ``` sudo apt-get install python3-autopep8 python3-pip php-codesniffer shellcheck yamllint -pip3 install "isort>=5.6.4" "mypy>=0.780" "flynt>=0.78" "flake8>=5" flake8-comprehensions +pip3 install "isort>=5.6.4" "mypy>=0.910" "flynt>=0.78" "flake8>=5" flake8-comprehensions echo "export PATH=\"`python3 -m site --user-base`/bin:\$PATH\"" >> ~/.bashrc source ~/.bashrc ``` diff --git a/contrib/utils/install-dependencies-bullseye.sh b/contrib/utils/install-dependencies-bullseye.sh --- a/contrib/utils/install-dependencies-bullseye.sh +++ b/contrib/utils/install-dependencies-bullseye.sh @@ -143,7 +143,7 @@ pip3 install "lief>=0.11.4" # Up-to-date mypy, isort and flynt packages are required python linters -pip3 install isort==5.6.4 mypy==0.780 flynt==0.78 flake8==6.0.0 +pip3 install isort==5.6.4 mypy==0.910 flynt==0.78 flake8==6.0.0 echo "export PATH=\"$(python3 -m site --user-base)/bin:\$PATH\"" >> ~/.bashrc # shellcheck source=/dev/null source ~/.bashrc