we are using SonarQube 8.6 and the plugins checkstyle, findbugs and pmd.
The rule java:S1451 (Track lack of copyright and license headers) allows to check in java files for the existence of a copyright matching a configurable regex.
Unfortunately the rule doesn’t exist for python and we are wondering what is the best way to check for the existence of a proper copyright in a python file.
We were hoping for a rule template that allows to check that each file begins with a match for a given regular expression, but couldn’t find anything in that direction as well.
Thx in advance for any ideas