You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Corrected configuration for Sonar documentation for host.url
* Add new line after header at the top of the versionsed changelog
* Add reference to Sonar's analysis parameter page
* Add more information about exclusions
* Add and correct information on pyupgrade usage
* Reduce duplicate information by creating a General remarks section
For additional configuration information, see `Sonar's analysis parameters <https://docs.sonarsource.com/sonarqube-server/2025.1/analyzing-source-code/analysis-parameters>`__ page.
120
+
121
+
``exclusions``
122
+
""""""""""""""
123
+
With the value of ``exclusions``, you can exclude files and directories of your
124
+
project from Sonar's analysis:
125
+
126
+
* You can use wildcards, e.g. ``<root>/dir/*.py`` or ``<root>/**/*.py``
127
+
* Multiple exclusions can be comma-separated (as shown above).
128
+
* For excluding arbitrary directories and files below a specific directory, please use two asterisks, e.g. ``root/abc/**``.
129
+
130
+
See the `Sonar Matching Patterns`_ for more details.
131
+
132
+
By default, the nox session ``sonar:check`` only analyses the source code,
133
+
as specified by the ``PROJECT_CONFIG.source``, so directories outside of this
0 commit comments