Working on Pyqt4, how to suppress sonarqube rule in a particular case?


+1 vote
asked Mar 16, 2016 by pna9110roeth (510 points)
I want to suppress "Method names should comply with naming convention" rule in my python code, but only in case when I'm overriding method from Qt class.

5 Answers

0 votes
answered Mar 23, 2016 by V5116 (380 points)

This completely suppresses the given warning.
In Source You can suppress lint issues directly in the source code. A good reference is here Suppressing Lint Warnings - Android Tools Project Site
0 votes
answered Apr 8, 2016 by MinkinScrews (190 points)
Just experienced this
I have created a timezone map with the help of this link http://tools.android.com/tips/lint/suppressing-lint-warnings
commented Apr 9, 2016 by Quittner (270 points)
However, these will only be used inside Studio itself
0 votes
answered Apr 14, 2016 by vg1908 (250 points)
I had this same problem and was having no luck with the suggested fixes
Please check this answer for a deeper explanation https://github.com/tvsonar/sonarlint-vs/commit/06f5c37a926e6036dd674eba97be3b91568e5f52
commented Apr 14, 2016 by the_kempi (150 points)
I had this exact same problem with no helpful errors
commented Apr 15, 2016 by baldomero (670 points)
This article sounds promising. Normally each file is associated with one repository
–1 vote
answered Apr 23, 2016 by Trghang (660 points)
It has been a long time but you may read this Supressing SonarQube warnings in equals() and hashCode()
Hope it help you too
0 votes
answered Jun 2, 2016 by Hruby (590 points)
For further reading and additional sources about this subject see Visual Studio 2013 Static Code Analysis in depth: What ...
You can check the structure here

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...