93
93
SONAR_WORKING_DIRECTORY : Key = "sonar.working.directory"
94
94
SONAR_SCM_FORCE_RELOAD_ALL : Key = "sonar.scm.forceReloadAll"
95
95
SONAR_MODULES : Key = "sonar.modules"
96
- SONAR_PYTHON_XUNIT_REPORT_PATH = "sonar.python.xunit.reportPath"
97
- SONAR_PYTHON_XUNIT_SKIP_DETAILS = "sonar.python.xunit.skipDetails"
98
- SONAR_PYTHON_MYPY_REPORT_PATHS = "sonar.python.mypy.reportPaths"
99
- SONAR_PYTHON_BANDIT_REPORT_PATHS = "sonar.python.bandit.reportPaths"
100
- SONAR_PYTHON_FLAKE8_REPORT_PATHS = "sonar.python.flake8.reportPaths"
101
- SONAR_PYTHON_RUFF_REPORT_PATHS = "sonar.python.ruff.reportPaths"
96
+ SONAR_PYTHON_XUNIT_REPORT_PATH : Key = "sonar.python.xunit.reportPath"
97
+ SONAR_PYTHON_XUNIT_SKIP_DETAILS : Key = "sonar.python.xunit.skipDetails"
98
+ SONAR_PYTHON_MYPY_REPORT_PATHS : Key = "sonar.python.mypy.reportPaths"
99
+ SONAR_PYTHON_BANDIT_REPORT_PATHS : Key = "sonar.python.bandit.reportPaths"
100
+ SONAR_PYTHON_FLAKE8_REPORT_PATHS : Key = "sonar.python.flake8.reportPaths"
101
+ SONAR_PYTHON_RUFF_REPORT_PATHS : Key = "sonar.python.ruff.reportPaths"
102
102
TOML_PATH : Key = "toml-path"
103
103
104
104
# ============ DEPRECATED ==============
105
- SONAR_SCANNER_OPTS = "sonar.scanner.opts"
105
+ SONAR_SCANNER_OPTS : Key = "sonar.scanner.opts"
106
106
107
107
108
108
@dataclass
@@ -116,8 +116,6 @@ class Property:
116
116
cli_getter : Optional [Callable [[argparse .Namespace ], Any ]] = None
117
117
"""function to get the value from the CLI arguments namespace. If None, the property is not settable via CLI"""
118
118
119
- deprecated : bool = False
120
-
121
119
deprecation_message : Optional [str ] = None
122
120
123
121
def python_name (self ) -> str :
@@ -536,7 +534,6 @@ def env_variable_name(self) -> str:
536
534
name = SONAR_SCANNER_OPTS ,
537
535
default_value = None ,
538
536
cli_getter = None ,
539
- deprecated = True ,
540
537
deprecation_message = "SONAR_SCANNER_OPTS is deprecated, please use SONAR_SCANNER_JAVA_OPTS instead."
541
538
)
542
539
]
0 commit comments