# How to add pylint rules in sonarqube

**URL:** <https://community.sonarsource.com/t/how-to-add-pylint-rules-in-sonarqube/69751>\
**Category:** SonarQube Server / Community Build\
**Created:** [August 13, 2022, 4:14am UTC](https://community.sonarsource.com/t/how-to-add-pylint-rules-in-sonarqube/69751 "2022-08-13T04:14:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shruti](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/shruti/32/35332_2.png) [@shruti](https://community.sonarsource.com/u/shruti)\
**Post date:** [August 13, 2022, 4:14am UTC](https://community.sonarsource.com/t/how-to-add-pylint-rules-in-sonarqube/69751/1 "2022-08-13T04:14:23Z")

</div>

How to add pylint rules in sonarqube , how can we get the pylint errors to be viewed in sonarqube report . KIndly help with this

---

<div class="post-metadata">

**Author:** ![shruti](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/shruti/32/35332_2.png) [@shruti](https://community.sonarsource.com/u/shruti)\
**Post date:** [August 14, 2022, 11:22am UTC](https://community.sonarsource.com/t/how-to-add-pylint-rules-in-sonarqube/69751/2 "2022-08-14T11:22:14Z")

</div>

can anyone please help with this .plzzz

---

<div class="post-metadata">

**Author:** ![Andrea\_Guarino](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/andrea_guarino/32/54797_2.png) [@Andrea\_Guarino](https://community.sonarsource.com/u/Andrea_Guarino)\
**Post date:** [August 15, 2022, 7:27am UTC](https://community.sonarsource.com/t/how-to-add-pylint-rules-in-sonarqube/69751/3 "2022-08-15T07:27:00Z")

</div>

Hello, please have a look at the documentation [here](https://docs.sonarqube.org/latest/analysis/external-issues/).

You would need to generate a pylint report in xml format by using `--output-format=parseable` option.  
Then, you need to define the following property in SonarQube:

`sonar.python.pylint.reportPaths=path/to/pylint/report`

Hope that helps,  
Andrea
