sonarqube

sonarqube exception caught on transport layer

房东的猫 提交于 2020-08-27 07:07:09
问题 Good afternoon everyone, the problem is this I have a server with SonarQube, that when I try to start the windows service, it gets up but then it stops. The following error appears in the sonarqube log: 2017.11.14 11:04:52 WARN sea[o.e.transport.netty] [sonar-1510653879773] exception caught on transport layer [[id: 0x346b46fb, /127.0.0.1:59330 => /127.0.0.1:9001]], closing connection java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch

Ignore SonarQube warnings in python

£可爱£侵袭症+ 提交于 2020-08-27 04:00:42
问题 How can I ignore SonarQube warnings in Python code In Java, I can use @SuppressWarnings("squid:S1166") Where the ID is the SonarQube rule ID. But what syntax should I use in Python? I've tried # noinspection python:S1313 but it didn't work. To be clear, I'm looking for a solution in python code. NOT JAVA. 回答1: I believe the only syntax supported for Python (assuming it is supported) is the NOSONAR comment, so #NOSONAR at the end of the line where you want to ignore issues. Unfortunately, this

Ignore SonarQube warnings in python

和自甴很熟 提交于 2020-08-27 04:00:11
问题 How can I ignore SonarQube warnings in Python code In Java, I can use @SuppressWarnings("squid:S1166") Where the ID is the SonarQube rule ID. But what syntax should I use in Python? I've tried # noinspection python:S1313 but it didn't work. To be clear, I'm looking for a solution in python code. NOT JAVA. 回答1: I believe the only syntax supported for Python (assuming it is supported) is the NOSONAR comment, so #NOSONAR at the end of the line where you want to ignore issues. Unfortunately, this