diff --git a/analyzer/codechecker_analyzer/pre_analysis_manager.py b/analyzer/codechecker_analyzer/pre_analysis_manager.py index 8d5a591ec7..ec97dcb484 100644 --- a/analyzer/codechecker_analyzer/pre_analysis_manager.py +++ b/analyzer/codechecker_analyzer/pre_analysis_manager.py @@ -201,7 +201,10 @@ def signal_handler(signum, frame): raise finally: pool.join() - # Return whether the call completed without raising an exception. + # The following pylint report is suppressed, because "result" would not + # be set if Pool.map_async() itself would raise an exception. If + # exceptions are raised by the callback functions, "result" is set. + # pylint: disable=used-before-assignment if not result.successful(): # If the remote call raised an exception then that exception will # be reraised by get(). diff --git a/analyzer/requirements.txt b/analyzer/requirements.txt index 977930d4a8..00c9687002 100644 --- a/analyzer/requirements.txt +++ b/analyzer/requirements.txt @@ -2,4 +2,3 @@ lxml==4.9.2 portalocker==2.2.1 psutil==5.8.0 PyYAML==6.0.1 -mypy_extensions==0.4.3 diff --git a/analyzer/requirements_py/dev/requirements.txt b/analyzer/requirements_py/dev/requirements.txt index ed0c438012..7b9e104e6e 100644 --- a/analyzer/requirements_py/dev/requirements.txt +++ b/analyzer/requirements_py/dev/requirements.txt @@ -3,8 +3,7 @@ pytest==7.3.1 pycodestyle==2.7.0 psutil==5.8.0 portalocker==2.2.1 -pylint==2.8.2 +pylint==2.17.6 mkdocs==1.2.3 PyYAML==6.0.1 -mypy_extensions==0.4.3 coverage==5.5.0 diff --git a/analyzer/requirements_py/osx/requirements.txt b/analyzer/requirements_py/osx/requirements.txt index a9c756db0d..f83252b9bf 100644 --- a/analyzer/requirements_py/osx/requirements.txt +++ b/analyzer/requirements_py/osx/requirements.txt @@ -3,4 +3,3 @@ portalocker==2.2.1 psutil==5.8.0 scan-build==2.0.19 PyYAML==6.0.1 -mypy_extensions==0.4.3 diff --git a/analyzer/tools/build-logger/requirements_py/dev/requirements.txt b/analyzer/tools/build-logger/requirements_py/dev/requirements.txt index dea2d59c92..1406186122 100644 --- a/analyzer/tools/build-logger/requirements_py/dev/requirements.txt +++ b/analyzer/tools/build-logger/requirements_py/dev/requirements.txt @@ -1,3 +1,3 @@ pytest==7.3.1 pycodestyle==2.4.0 -pylint==2.8.2 +pylint==2.17.6 diff --git a/analyzer/tools/merge_clang_extdef_mappings/requirements_py/dev/requirements.txt b/analyzer/tools/merge_clang_extdef_mappings/requirements_py/dev/requirements.txt index dea2d59c92..1406186122 100644 --- a/analyzer/tools/merge_clang_extdef_mappings/requirements_py/dev/requirements.txt +++ b/analyzer/tools/merge_clang_extdef_mappings/requirements_py/dev/requirements.txt @@ -1,3 +1,3 @@ pytest==7.3.1 pycodestyle==2.4.0 -pylint==2.8.2 +pylint==2.17.6 diff --git a/analyzer/tools/statistics_collector/requirements_py/dev/requirements.txt b/analyzer/tools/statistics_collector/requirements_py/dev/requirements.txt index dea2d59c92..1406186122 100644 --- a/analyzer/tools/statistics_collector/requirements_py/dev/requirements.txt +++ b/analyzer/tools/statistics_collector/requirements_py/dev/requirements.txt @@ -1,3 +1,3 @@ pytest==7.3.1 pycodestyle==2.4.0 -pylint==2.8.2 +pylint==2.17.6 diff --git a/codechecker_common/requirements_py/dev/requirements.txt b/codechecker_common/requirements_py/dev/requirements.txt index 8da0fc4a50..9559acbdb8 100644 --- a/codechecker_common/requirements_py/dev/requirements.txt +++ b/codechecker_common/requirements_py/dev/requirements.txt @@ -1,5 +1,4 @@ portalocker==2.2.1 coverage==5.5.0 -mypy==0.812 -mypy_extensions==0.4.3 +mypy==1.5.1 PyYAML==6.0.1 diff --git a/tools/bazel/requirements_py/dev/requirements.txt b/tools/bazel/requirements_py/dev/requirements.txt index 4b673440f5..a8ab579fb5 100644 --- a/tools/bazel/requirements_py/dev/requirements.txt +++ b/tools/bazel/requirements_py/dev/requirements.txt @@ -1,5 +1,4 @@ pytest==7.3.1 pycodestyle==2.7.0 -pylint==2.8.2 -mypy==0.812 -mypy_extensions==0.4.3 +pylint==2.17.6 +mypy==1.5.1 diff --git a/tools/report-converter/requirements_py/dev/requirements.txt b/tools/report-converter/requirements_py/dev/requirements.txt index bd20124f6c..367523d32e 100644 --- a/tools/report-converter/requirements_py/dev/requirements.txt +++ b/tools/report-converter/requirements_py/dev/requirements.txt @@ -1,6 +1,5 @@ pytest==7.3.1 pycodestyle==2.7.0 -pylint==2.8.2 +pylint==2.17.6 portalocker==2.2.1 -mypy==0.812 -mypy_extensions==0.4.3 +mypy==1.5.1 diff --git a/tools/tu_collector/requirements_py/dev/requirements.txt b/tools/tu_collector/requirements_py/dev/requirements.txt index 4b673440f5..a8ab579fb5 100644 --- a/tools/tu_collector/requirements_py/dev/requirements.txt +++ b/tools/tu_collector/requirements_py/dev/requirements.txt @@ -1,5 +1,4 @@ pytest==7.3.1 pycodestyle==2.7.0 -pylint==2.8.2 -mypy==0.812 -mypy_extensions==0.4.3 +pylint==2.17.6 +mypy==1.5.1 diff --git a/web/requirements.txt b/web/requirements.txt index ed4f26d491..4cece9e4dc 100644 --- a/web/requirements.txt +++ b/web/requirements.txt @@ -3,7 +3,6 @@ sqlalchemy==1.3.23 alembic==1.5.5 portalocker==2.2.1 psutil==5.8.0 -mypy_extensions==0.4.3 thrift==0.13.0 gitpython==3.1.34 PyYAML==6.0.1 diff --git a/web/requirements_py/auth/requirements.txt b/web/requirements_py/auth/requirements.txt index eceacddcef..7a7d1bee06 100644 --- a/web/requirements_py/auth/requirements.txt +++ b/web/requirements_py/auth/requirements.txt @@ -1,2 +1,2 @@ -python-ldap==3.4.0 +python-ldap==3.4.3 python-pam==1.8.4 diff --git a/web/requirements_py/dev/requirements.txt b/web/requirements_py/dev/requirements.txt index 519b4c572d..9766c74fd6 100644 --- a/web/requirements_py/dev/requirements.txt +++ b/web/requirements_py/dev/requirements.txt @@ -6,10 +6,9 @@ psycopg2-binary==2.8.6 pg8000==1.15.2 psutil==5.8.0 portalocker==2.2.1 -pylint==2.8.2 +pylint==2.17.6 pytest==7.3.1 mkdocs==1.2.3 -mypy_extensions==0.4.3 coverage==5.5.0 thrift==0.13.0 gitpython==3.1.34 diff --git a/web/requirements_py/osx/requirements.txt b/web/requirements_py/osx/requirements.txt index 24f05869c5..99a3e1a6c3 100644 --- a/web/requirements_py/osx/requirements.txt +++ b/web/requirements_py/osx/requirements.txt @@ -3,7 +3,6 @@ alembic==1.5.5 portalocker==2.2.1 psutil==5.8.0 sqlalchemy==1.3.23 -mypy_extensions==0.4.3 thrift==0.13.0 ./api/py/codechecker_api/dist/codechecker_api.tar.gz