Skip to content

Commit b741619

Browse files
Fix after review
1 parent 1f7a14a commit b741619

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ By default, the scanner will expect the `pyproject.toml` file to be present in t
7979
However, its path can be provided manually through the `toml.path` ([SCANPY-40](https://sonarsource.atlassian.net/jira/software/c/projects/PYSCAN/issues/PYSCAN-40)) CLI argument as well as through the `sonar.projectHome` argument. For instance:
8080

8181
```
82-
pysonar -Dtoml.path="path/to/pyproject.toml"
82+
pysonar --toml.path "path/to/pyproject.toml"
8383
```
8484

8585
Or:
8686

8787
```
88-
pysonar -Dsonar.projectHome="path/to/projectHome"
88+
pysonar --sonar-project-home "path/to/projectHome"
8989
```
9090

9191

tests/its/utils/cli_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def __run_analysis_with_debugging(self, workdir: pathlib.Path, params: list[str]
6060
"--listen",
6161
str(DEBUGPY_PORT),
6262
"-m",
63-
"tests.its.utils.pysonar-scanner-debug",
63+
"tests.its.utils.pysonar-debug",
6464
f"--sonar-host-url={self.sq_client.base_url}",
6565
f"--token={token}",
6666
*params,
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#
2020
"""
2121
This module is the entry point for debugging the pysonar scanner in the its.
22-
The pysonar-scanner-debug is started with the working directory set to the root of the project, so that python
23-
(and pydebug by extension) can find the pysonar-scanner-debug module. However, since the scanner should run in the
22+
The pysonar-debug is started with the working directory set to the root of the project, so that python
23+
(and pydebug by extension) can find the pysonar-debug module. However, since the scanner should run in the
2424
analyzed project, the working directory is changed to the root of the analyzed project before running the scanner.
2525
26-
The pysonar-scanner-debug expects the PYSONAR_SCANNER_DEBUG_WORKDIR environment variable to be set to the directory
26+
The pysonar-debug expects the PYSONAR_SCANNER_DEBUG_WORKDIR environment variable to be set to the directory
2727
where the scanner should be run. This is set to the directory containing the sources to be analyzed.
2828
"""
2929

0 commit comments

Comments
 (0)