Skip to content

Commit dec4607

Browse files
committed
Update user guide
1 parent 22b9212 commit dec4607

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

doc/user_guide/features/metrics/sonar.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,15 @@ In Sonar
4444

4545
In the code
4646
"""""""""""
47-
#. Specify in the ``noxconfig.py`` the relative path to the project's source code in ``Config.source``
48-
.. code-block:: python
49-
50-
source: Path = Path("exasol/<source-directory>")
47+
#. In the ``noxconfig.py``, the relative path to the project's source code is defined with ``Config.source_code_path``.
5148
#. Add the following to the project's file ``pyproject.toml``
5249
.. code-block:: toml
5350
5451
[tool.sonar]
5552
projectKey = "<sonar-project-key>"
5653
host.url = "https://sonarcloud.io"
5754
organization = "exasol"
58-
exclusions = "<source-directory>/version.py,<source_directory>/<directory-to-ignore>/*"
55+
exclusions = "<source_code_directory>/version.py,<source_code_directory>/<directory-to-ignore>/*"
5956
6057
.. note::
6158
For more information, see the :ref:`General remarks <configuration_general_remarks>` section.

0 commit comments

Comments
 (0)