diff --git a/Dockerfile b/Dockerfile index 574da10..95d2ac7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,41 +1,44 @@ # Builder image for analysis tools -FROM debian:11-slim AS builder +FROM ubuntu:22.04 AS builder # Install tools from sources -RUN echo 'deb http://ftp.fr.debian.org/debian/ bullseye main contrib non-free' >> /etc/apt/sources.list \ - && apt-get update \ - && apt-get install -y --no-install-recommends \ - curl=7.74.0-* \ +RUN apt update \ + && apt install -y --no-install-recommends \ + curl=7.81.0-* \ # for C/C++ tools make=4.3-* \ - g\+\+=4:10.2.1-* \ - python3=3.9.2-* \ + g\+\+=4:11.2.0-* \ + python3=3.10.6-* \ libpcre3-dev=2:8.39-* \ unzip=6.0-* \ - xz-utils=5.2.5-* + xz-utils=5.2.5-* \ + && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* # sonar-scanner -RUN curl -ksSLO https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.8.0.2856.zip \ - && unzip sonar-scanner-cli-4.8.0.2856.zip \ - && mv /sonar-scanner-4.8.0.2856 /sonar-scanner +RUN curl -ksSLO https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-5.0.1.3006.zip \ + && unzip sonar-scanner-cli-5.0.1.3006.zip \ + && mv ./sonar-scanner-5.0.1.3006 /sonar-scanner \ + && rm sonar-scanner-cli-5.0.1.3006.zip # CppCheck -RUN curl -ksSLO https://github.com/danmar/cppcheck/archive/refs/tags/2.10.tar.gz \ - && tar -zxvf 2.10.tar.gz \ - && make -C cppcheck-2.10/ install \ +RUN curl -ksSLO https://github.com/danmar/cppcheck/archive/refs/tags/2.14.0.tar.gz \ + && tar -zxvf 2.14.0.tar.gz \ + && make -C cppcheck-2.14.0/ install \ MATCHCOMPILER="yes" \ FILESDIR="/usr/share/cppcheck" \ HAVE_RULES="yes" \ - CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function -Wno-deprecated-declarations" + CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function -Wno-deprecated-declarations" \ + && rm -rf cppcheck-2.14.0 2.14.0.tar.gz # Infer RUN curl -ksSLO https://github.com/facebook/infer/releases/download/v1.1.0/infer-linux64-v1.1.0.tar.xz \ - && tar -C /opt -Jxvf infer-linux64-v1.1.0.tar.xz + && tar -C /opt -Jxvf infer-linux64-v1.1.0.tar.xz \ + && rm infer-linux64-v1.1.0.tar.xz ################################################################################ # Final image based on the official sonar-scanner image -FROM debian:11-slim +FROM ubuntu:22.04 LABEL maintainer="CATLab" @@ -88,55 +91,46 @@ COPY --from=builder /opt/infer-linux64-v1.1.0/lib /opt/infer-linux64-v1.1.0/lib # Add CNES pylintrc A_B, C, D COPY pylintrc.d/ /opt/python/ -# Download CNES pylint extension -ADD https://github.com/cnescatlab/cnes-pylint-extension/archive/refs/tags/v6.0.0.tar.gz \ - /tmp/python/ - # Install tools -RUN echo 'deb http://ftp.fr.debian.org/debian/ bullseye main contrib non-free' >> /etc/apt/sources.list \ - && apt-get update \ +RUN apt update \ && mkdir -p /usr/share/man/man1 \ - && apt-get install -y --no-install-recommends \ + && apt install -y --no-install-recommends \ # Needed by sonar-scanner openjdk-17-jre=17.0.* \ # Needed by Pylint - python3=3.9.2-* \ - python3-pip=20.3.4-* \ + python3=3.10.6-* \ + python3-pip=22.0.2* \ # Shellcheck - shellcheck=0.7.1-* \ + shellcheck=0.8.0-* \ # Needed by Infer - libsqlite3-0=3.34.1-* \ - libtinfo5=6.2* \ + libsqlite3-0=3.37.2-* \ python2.7=2.7.18-* \ # Compilation tools needed by Infer - gcc=4:10.2.1-* \ - g\+\+=4:10.2.1-* \ - clang=1:11.0-* \ + gcc=4:11.2.0-* \ + g\+\+=4:11.2.0-* \ + clang=1:14.0-* \ make=4.3-* \ && rm -rf /var/lib/apt/lists/* \ && rm -rf /usr/local/man \ # Install pylint and CNES pylint extension - && mkdir -p /opt/python/cnes-pylint-extension-6.0.0 \ - && tar -xvzf /tmp/python/v6.0.0.tar.gz -C /tmp/python \ - && mv /tmp/python/cnes-pylint-extension-6.0.0/checkers /opt/python/cnes-pylint-extension-6.0.0/ \ - && rm -rf /tmp/python \ && pip install --no-cache-dir \ - setuptools-scm==7.1.0 \ - pytest-runner==6.0.0 \ - wrapt==1.15.0 \ + cnes-pylint-extension==7.0.0 \ + pylint-sonarjson-catlab==2.0.0 \ + setuptools-scm==8.0.4 \ + pytest-runner==6.0.1 \ + wrapt==1.16.0 \ six==1.16.0 \ - lazy-object-proxy==1.9.0 \ + lazy-object-proxy==1.10.0 \ mccabe==0.7.0 \ - isort==5.12.0 \ - typed-ast==1.5.4 \ - astroid==2.15.2 \ - pylint==2.17.2 \ + isort==5.13.2 \ + typed-ast==1.5.5 \ + astroid==3.1.0 \ + pylint==3.1.0 \ # Infer && ln -s "/opt/infer-linux64-v1.1.0/bin/infer" /usr/local/bin/infer # Make sonar-scanner, CNES pylint and C/C++ tools executable -ENV PYTHONPATH="$PYTHONPATH:/opt/python/cnes-pylint-extension-6.0.0/checkers" \ - PATH="$SONAR_SCANNER_HOME/bin:/usr/local/bin:$PATH" \ +ENV PATH="$SONAR_SCANNER_HOME/bin:/usr/local/bin:$PATH" \ PYLINTHOME="$SONAR_SCANNER_HOME/.pylint.d" \ JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64" diff --git a/pylintrc.d/pylintrc_RNC2015_A_B b/pylintrc.d/pylintrc_RNC2015_A_B index 8734c19..c11614a 100644 --- a/pylintrc.d/pylintrc_RNC2015_A_B +++ b/pylintrc.d/pylintrc_RNC2015_A_B @@ -16,7 +16,7 @@ persistent=yes # List of plugins (as comma separated values of python modules names) to load, # usually to register additional checkers. -load-plugins=cnes_checker,pylint.extensions.check_elif,pylint_sonarjson +load-plugins=cnes_checker,pylint.extensions.check_elif,pylint_sonarjson, pylint.extensions.redefined_variable_type, pylint.extensions.comparison_placement [MESSAGES CONTROL] @@ -29,7 +29,7 @@ load-plugins=cnes_checker,pylint.extensions.check_elif,pylint_sonarjson # and R0915 (too-many-statements/COM.MET.LineOfCode) rules enabled # In addition, C0102 and W0141 have to be enabled for bad-names and bad-functions rules disable=all -enable=R5104,W0703,R5402,R5401,R5105,R0203,R0204,R5403,R5106,R0401,W0102,W9097,E0108,R5103,F0002,W9096,C0204,C0203,E0213,C0122,W9095,W0312,W0406,R5101,W0622,W0621,W0404,W0403,R5201,R5301,R5302,R5102,R0915,W0602,E0602,C0412,W0612,C0113,W0603,E0601,C0411,C0413,C0326 +enable=R5104,W0718,R5402,R5401,R5105,R0203,R0204,R5403,R5106,R0401,W0102,W9097,E0108,R5103,F0002,W9096,C0204,C0203,E0213,C2201,W9095,W0406,R5101,W0622,W0621,W0404,R5201,R5301,R5302,R5102,R0915,W0602,E0602,C0412,W0612,C0117,W0603,E0601,C0411,C0413 max-bool-expr=5 max-returns=1 @@ -293,7 +293,7 @@ int-import-graph= # Exceptions that will emit a warning when being caught. Defaults to # "Exception" -overgeneral-exceptions=Exception +overgeneral-exceptions=builtins.Exception [SONARQUBE] @@ -303,5 +303,5 @@ overgeneral-exceptions=Exception # sonar-scanner. To generate the json file, package pylint-sonarjson must be # installed. # For more information see: https://github.com/omegacen/pylint-sonarjson -sonar-rules=C0113:MINOR:10:CODE_SMELL,C0122:MINOR:10:CODE_SMELL,C0203:MINOR:10:CODE_SMELL,C0204:MINOR:10:CODE_SMELL,C0326:MINOR:10:CODE_SMELL,C0411:MINOR:10:CODE_SMELL,C0412:MINOR:10:CODE_SMELL,C0413:MINOR:10:CODE_SMELL,E0108:MINOR:10:CODE_SMELL,E0213:MAJOR:10:CODE_SMELL,E0601:MAJOR:10:CODE_SMELL,E0602:MAJOR:10:CODE_SMELL,F0002:MAJOR:10:CODE_SMELL,R0203:MINOR:10:CODE_SMELL,R0204:CRITICAL:10:CODE_SMELL,R0401:MINOR:10:CODE_SMELL,R0915:MINOR:10:CODE_SMELL,R5101:CRITICAL:10:CODE_SMELL,R5102:CRITICAL:10:CODE_SMELL,R5103:CRITICAL:10:CODE_SMELL,R5104:CRITICAL:10:CODE_SMELL,R5105:CRITICAL:10:CODE_SMELL,R5106:CRITICAL:10:CODE_SMELL,R5201:CRITICAL:10:CODE_SMELL,R5301:CRITICAL:10:CODE_SMELL,R5302:CRITICAL:10:CODE_SMELL,R5401:BLOCKER:10:CODE_SMELL,R5402:BLOCKER:10:CODE_SMELL,R5403:BLOCKER:10:CODE_SMELL,W0102:MINOR:10:CODE_SMELL,W0312:MAJOR:10:CODE_SMELL,W0403:MINOR:10:CODE_SMELL,W0404:MINOR:10:CODE_SMELL,W0406:MINOR:10:CODE_SMELL,W0602:MINOR:10:CODE_SMELL,W0603:MINOR:10:CODE_SMELL,W0612:MINOR:10:CODE_SMELL,W0621:MINOR:10:CODE_SMELL,W0622:MINOR:10:CODE_SMELL,W0703:MINOR:10:CODE_SMELL,W9095:CRITICAL:10:CODE_SMELL,W9096:CRITICAL:10:CODE_SMELL,W9097:CRITICAL:10:CODE_SMELL -output-format=json +sonar-rules=C0117:MINOR:10:CODE_SMELL,C2201:MINOR:10:CODE_SMELL,C0203:MINOR:10:CODE_SMELL,C0204:MINOR:10:CODE_SMELL,C0411:MINOR:10:CODE_SMELL,C0412:MINOR:10:CODE_SMELL,C0413:MINOR:10:CODE_SMELL,E0108:MINOR:10:CODE_SMELL,E0213:MAJOR:10:CODE_SMELL,E0601:MAJOR:10:CODE_SMELL,E0602:MAJOR:10:CODE_SMELL,F0002:MAJOR:10:CODE_SMELL,R0203:MINOR:10:CODE_SMELL,R0204:CRITICAL:10:CODE_SMELL,R0401:MINOR:10:CODE_SMELL,R0915:MINOR:10:CODE_SMELL,R5101:CRITICAL:10:CODE_SMELL,R5102:CRITICAL:10:CODE_SMELL,R5103:CRITICAL:10:CODE_SMELL,R5104:CRITICAL:10:CODE_SMELL,R5105:CRITICAL:10:CODE_SMELL,R5106:CRITICAL:10:CODE_SMELL,R5201:CRITICAL:10:CODE_SMELL,R5301:CRITICAL:10:CODE_SMELL,R5302:CRITICAL:10:CODE_SMELL,R5401:BLOCKER:10:CODE_SMELL,R5402:BLOCKER:10:CODE_SMELL,R5403:BLOCKER:10:CODE_SMELL,W0102:MINOR:10:CODE_SMELL,W0404:MINOR:10:CODE_SMELL,W0406:MINOR:10:CODE_SMELL,W0602:MINOR:10:CODE_SMELL,W0603:MINOR:10:CODE_SMELL,W0612:MINOR:10:CODE_SMELL,W0621:MINOR:10:CODE_SMELL,W0622:MINOR:10:CODE_SMELL,W0718:MINOR:10:CODE_SMELL,W9095:CRITICAL:10:CODE_SMELL,W9096:CRITICAL:10:CODE_SMELL,W9097:CRITICAL:10:CODE_SMELL +output-format=sonarjson \ No newline at end of file diff --git a/pylintrc.d/pylintrc_RNC2015_C b/pylintrc.d/pylintrc_RNC2015_C index d850bde..8ac9d52 100644 --- a/pylintrc.d/pylintrc_RNC2015_C +++ b/pylintrc.d/pylintrc_RNC2015_C @@ -16,7 +16,7 @@ persistent=yes # List of plugins (as comma separated values of python modules names) to load, # usually to register additional checkers. -load-plugins=cnes_checker,pylint.extensions.check_elif,pylint_sonarjson +load-plugins=cnes_checker,pylint.extensions.check_elif,pylint_sonarjson,pylint.extensions.redefined_variable_type,pylint.extensions.comparison_placement [MESSAGES CONTROL] @@ -29,7 +29,7 @@ load-plugins=cnes_checker,pylint.extensions.check_elif,pylint_sonarjson # and R0915 (too-many-statements/COM.MET.LineOfCode) rules enabled # In addition, C0102 and W0141 have to be enabled for bad-names and bad-functions rules disable=all -enable=R5104,W0703,R5402,R5401,R5105,R0203,R0204,R5403,R5106,R0401,W0102,W9097,E0108,R5103,F0002,W9096,C0204,C0203,E0213,C0122,W9095,W0312,W0406,R5101,W0622,W0621,W0404,W0403,R5201,R5301,R5302,R5102,R0915,W0602,E0602,C0412,W0612,C0113,W0603,E0601,C0411,C0413,C0326 +enable=R5104,W0718,R5402,R5401,R5105,R0203,R0204,R5403,R5106,R0401,W0102,W9097,E0108,R5103,F0002,W9096,C0204,C0203,E0213,C2201,W9095,W0406,R5101,W0622,W0621,W0404,R5201,R5301,R5302,R5102,R0915,W0602,E0602,C0412,W0612,C0117,W0603,E0601,C0411,C0413 max-bool-expr=5 max-returns=1 @@ -293,7 +293,7 @@ int-import-graph= # Exceptions that will emit a warning when being caught. Defaults to # "Exception" -overgeneral-exceptions=Exception +overgeneral-exceptions=builtins.Exception [SONARQUBE] @@ -303,5 +303,5 @@ overgeneral-exceptions=Exception # sonar-scanner. To generate the json file, package pylint-sonarjson must be # installed. # For more information see: https://github.com/omegacen/pylint-sonarjson -sonar-rules=C0113:MINOR:10:CODE_SMELL,C0122:MINOR:10:CODE_SMELL,C0203:MINOR:10:CODE_SMELL,C0204:MINOR:10:CODE_SMELL,C0326:MINOR:10:CODE_SMELL,C0411:MINOR:10:CODE_SMELL,C0412:MINOR:10:CODE_SMELL,C0413:MINOR:10:CODE_SMELL,E0108:MINOR:10:CODE_SMELL,E0213:MAJOR:10:CODE_SMELL,E0601:MAJOR:10:CODE_SMELL,E0602:MAJOR:10:CODE_SMELL,F0002:MAJOR:10:CODE_SMELL,R0203:MINOR:10:CODE_SMELL,R0204:CRITICAL:10:CODE_SMELL,R0401:MINOR:10:CODE_SMELL,R0915:MINOR:10:CODE_SMELL,R5101:CRITICAL:10:CODE_SMELL,R5102:CRITICAL:10:CODE_SMELL,R5103:CRITICAL:10:CODE_SMELL,R5104:CRITICAL:10:CODE_SMELL,R5105:CRITICAL:10:CODE_SMELL,R5106:CRITICAL:10:CODE_SMELL,R5201:CRITICAL:10:CODE_SMELL,R5301:CRITICAL:10:CODE_SMELL,R5302:CRITICAL:10:CODE_SMELL,R5401:BLOCKER:10:CODE_SMELL,R5402:BLOCKER:10:CODE_SMELL,R5403:BLOCKER:10:CODE_SMELL,W0102:MINOR:10:CODE_SMELL,W0312:MAJOR:10:CODE_SMELL,W0403:MINOR:10:CODE_SMELL,W0404:MINOR:10:CODE_SMELL,W0406:MINOR:10:CODE_SMELL,W0602:MINOR:10:CODE_SMELL,W0603:MINOR:10:CODE_SMELL,W0612:MINOR:10:CODE_SMELL,W0621:MINOR:10:CODE_SMELL,W0622:MINOR:10:CODE_SMELL,W0703:MINOR:10:CODE_SMELL,W9095:CRITICAL:10:CODE_SMELL,W9096:CRITICAL:10:CODE_SMELL,W9097:CRITICAL:10:CODE_SMELL -output-format=json +sonar-rules=C0117:MINOR:10:CODE_SMELL,C2201:MINOR:10:CODE_SMELL,C0203:MINOR:10:CODE_SMELL,C0204:MINOR:10:CODE_SMELL,C0411:MINOR:10:CODE_SMELL,C0412:MINOR:10:CODE_SMELL,C0413:MINOR:10:CODE_SMELL,E0108:MINOR:10:CODE_SMELL,E0213:MAJOR:10:CODE_SMELL,E0601:MAJOR:10:CODE_SMELL,E0602:MAJOR:10:CODE_SMELL,F0002:MAJOR:10:CODE_SMELL,R0203:MINOR:10:CODE_SMELL,R0204:CRITICAL:10:CODE_SMELL,R0401:MINOR:10:CODE_SMELL,R0915:MINOR:10:CODE_SMELL,R5101:CRITICAL:10:CODE_SMELL,R5102:CRITICAL:10:CODE_SMELL,R5103:CRITICAL:10:CODE_SMELL,R5104:CRITICAL:10:CODE_SMELL,R5105:CRITICAL:10:CODE_SMELL,R5106:CRITICAL:10:CODE_SMELL,R5201:CRITICAL:10:CODE_SMELL,R5301:CRITICAL:10:CODE_SMELL,R5302:CRITICAL:10:CODE_SMELL,R5401:BLOCKER:10:CODE_SMELL,R5402:BLOCKER:10:CODE_SMELL,R5403:BLOCKER:10:CODE_SMELL,W0102:MINOR:10:CODE_SMELL,W0404:MINOR:10:CODE_SMELL,W0406:MINOR:10:CODE_SMELL,W0602:MINOR:10:CODE_SMELL,W0603:MINOR:10:CODE_SMELL,W0612:MINOR:10:CODE_SMELL,W0621:MINOR:10:CODE_SMELL,W0622:MINOR:10:CODE_SMELL,W0718:MINOR:10:CODE_SMELL,W9095:CRITICAL:10:CODE_SMELL,W9096:CRITICAL:10:CODE_SMELL,W9097:CRITICAL:10:CODE_SMELL +output-format=sonarjson diff --git a/pylintrc.d/pylintrc_RNC2015_D b/pylintrc.d/pylintrc_RNC2015_D index 32bccfb..28446b7 100644 --- a/pylintrc.d/pylintrc_RNC2015_D +++ b/pylintrc.d/pylintrc_RNC2015_D @@ -16,7 +16,7 @@ persistent=yes # List of plugins (as comma separated values of python modules names) to load, # usually to register additional checkers. -load-plugins=cnes_checker,pylint.extensions.check_elif,pylint_sonarjson +load-plugins=cnes_checker,pylint.extensions.check_elif,pylint-sonarjson,pylint.extensions.redefined_variable_type,pylint.extensions.comparison_placement [MESSAGES CONTROL] @@ -29,7 +29,7 @@ load-plugins=cnes_checker,pylint.extensions.check_elif,pylint_sonarjson # and R0915 (too-many-statements/COM.MET.LineOfCode) rules enabled # In addition, C0102 and W0141 have to be enabled for bad-names and bad-functions rules disable=all -enable=R5104,W0703,R5402,R5401,R5105,R0203,R0204,R5403,R5106,R0401,W0102,W9097,E0108,R5103,F0002,W9096,C0204,C0203,E0213,C0122,W9095,W0312,W0406,R5101,W0622,W0621,W0404,W0403,R5201,R5301,R5302,R5102,R0915,W0602,E0602,C0412,W0612,C0113,W0603,E0601,C0411,C0413,C0326 +enable=R5104,W0718,R5402,R5401,R5105,R0203,R0204,R5403,R5106,R0401,W0102,W9097,E0108,R5103,F0002,W9096,C0204,C0203,E0213,C2201,W9095,W0406,R5101,W0622,W0621,W0404,R5201,R5301,R5302,R5102,R0915,W0602,E0602,C0412,W0612,C0117,W0603,E0601,C0411,C0413 max-bool-expr=5 max-returns=1 @@ -293,7 +293,7 @@ int-import-graph= # Exceptions that will emit a warning when being caught. Defaults to # "Exception" -overgeneral-exceptions=Exception +overgeneral-exceptions=builtins.Exception [SONARQUBE] @@ -303,5 +303,5 @@ overgeneral-exceptions=Exception # sonar-scanner. To generate the json file, package pylint-sonarjson must be # installed. # For more information see: https://github.com/omegacen/pylint-sonarjson -sonar-rules=C0113:MINOR:10:CODE_SMELL,C0122:MINOR:10:CODE_SMELL,C0203:MINOR:10:CODE_SMELL,C0204:MINOR:10:CODE_SMELL,C0326:MINOR:10:CODE_SMELL,C0411:MINOR:10:CODE_SMELL,C0412:MINOR:10:CODE_SMELL,C0413:MINOR:10:CODE_SMELL,E0108:MINOR:10:CODE_SMELL,E0213:MAJOR:10:CODE_SMELL,E0601:MAJOR:10:CODE_SMELL,E0602:MAJOR:10:CODE_SMELL,F0002:MAJOR:10:CODE_SMELL,R0203:MINOR:10:CODE_SMELL,R0204:CRITICAL:10:CODE_SMELL,R0401:MINOR:10:CODE_SMELL,R0915:MINOR:10:CODE_SMELL,R5101:CRITICAL:10:CODE_SMELL,R5102:CRITICAL:10:CODE_SMELL,R5103:CRITICAL:10:CODE_SMELL,R5104:CRITICAL:10:CODE_SMELL,R5105:CRITICAL:10:CODE_SMELL,R5106:CRITICAL:10:CODE_SMELL,R5201:CRITICAL:10:CODE_SMELL,R5301:CRITICAL:10:CODE_SMELL,R5302:CRITICAL:10:CODE_SMELL,R5401:BLOCKER:10:CODE_SMELL,R5402:BLOCKER:10:CODE_SMELL,R5403:BLOCKER:10:CODE_SMELL,W0102:MINOR:10:CODE_SMELL,W0312:MAJOR:10:CODE_SMELL,W0403:MINOR:10:CODE_SMELL,W0404:MINOR:10:CODE_SMELL,W0406:MINOR:10:CODE_SMELL,W0602:MINOR:10:CODE_SMELL,W0603:MINOR:10:CODE_SMELL,W0612:MINOR:10:CODE_SMELL,W0621:MINOR:10:CODE_SMELL,W0622:MINOR:10:CODE_SMELL,W0703:MINOR:10:CODE_SMELL,W9095:CRITICAL:10:CODE_SMELL,W9096:CRITICAL:10:CODE_SMELL,W9097:CRITICAL:10:CODE_SMELL -output-format=json +sonar-rules=C0117:MINOR:10:CODE_SMELL,C2201:MINOR:10:CODE_SMELL,C0203:MINOR:10:CODE_SMELL,C0204:MINOR:10:CODE_SMELL,C0411:MINOR:10:CODE_SMELL,C0412:MINOR:10:CODE_SMELL,C0413:MINOR:10:CODE_SMELL,E0108:MINOR:10:CODE_SMELL,E0213:MAJOR:10:CODE_SMELL,E0601:MAJOR:10:CODE_SMELL,E0602:MAJOR:10:CODE_SMELL,F0002:MAJOR:10:CODE_SMELL,R0203:MINOR:10:CODE_SMELL,R0204:CRITICAL:10:CODE_SMELL,R0401:MINOR:10:CODE_SMELL,R0915:MINOR:10:CODE_SMELL,R5101:CRITICAL:10:CODE_SMELL,R5102:CRITICAL:10:CODE_SMELL,R5103:CRITICAL:10:CODE_SMELL,R5104:CRITICAL:10:CODE_SMELL,R5105:CRITICAL:10:CODE_SMELL,R5106:CRITICAL:10:CODE_SMELL,R5201:CRITICAL:10:CODE_SMELL,R5301:CRITICAL:10:CODE_SMELL,R5302:CRITICAL:10:CODE_SMELL,R5401:BLOCKER:10:CODE_SMELL,R5402:BLOCKER:10:CODE_SMELL,R5403:BLOCKER:10:CODE_SMELL,W0102:MINOR:10:CODE_SMELL,W0404:MINOR:10:CODE_SMELL,W0406:MINOR:10:CODE_SMELL,W0602:MINOR:10:CODE_SMELL,W0603:MINOR:10:CODE_SMELL,W0612:MINOR:10:CODE_SMELL,W0621:MINOR:10:CODE_SMELL,W0622:MINOR:10:CODE_SMELL,W0718:MINOR:10:CODE_SMELL,W9095:CRITICAL:10:CODE_SMELL,W9096:CRITICAL:10:CODE_SMELL,W9097:CRITICAL:10:CODE_SMELL +output-format=sonarjson diff --git a/tests/README.md b/tests/README.md index 17c399e..4fd1908 100644 --- a/tests/README.md +++ b/tests/README.md @@ -72,7 +72,7 @@ $ pip install -r requirements.txt -p 9000:9000 \ -e SONARQUBE_ADMIN_PASSWORD=adminpassword \ --net sonarbridge \ - lequal/sonarqube:latest + lequal/sonarqube-catlab:latest ``` - Wait until it is configured diff --git a/tests/requirements.txt b/tests/requirements.txt index 1cb8d61..501ded2 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,17 +1,17 @@ -attrs==20.2.0 -certifi==2020.6.20 -chardet==3.0.4 -docker==4.3.1 -idna==2.10 -iniconfig==1.0.1 -more-itertools==8.5.0 -packaging==20.4 -pluggy==0.13.1 -py==1.9.0 -pyparsing==2.4.7 -pytest==6.0.2 -requests==2.24.0 -six==1.15.0 -toml==0.10.1 -urllib3==1.25.10 -websocket-client==0.57.0 +attrs==23.2.0 +certifi==2024.2.2 +chardet==5.2.0 +docker==7.0.0 +idna==3.7 +iniconfig==2.0.0 +more-itertools==10.2.0 +packaging==24.0 +pluggy==1.5.0 +py==1.11.0 +pyparsing==3.1.2 +pytest==8.1.1 +requests==2.31.0 +six==1.16.0 +toml==0.10.2 +urllib3==2.2.1 +websocket-client==1.8.0