Package org.sonar.plugins.python.mypy
Class MypySensor
java.lang.Object
org.sonar.plugins.python.ExternalIssuesSensor
org.sonar.plugins.python.mypy.MypySensor
- All Implemented Interfaces:
org.sonar.api.batch.sensor.Sensor,org.sonar.api.scanner.sensor.ProjectSensor
-
Field Summary
FieldsFields inherited from class org.sonar.plugins.python.ExternalIssuesSensor
PYLINT_LEGACY_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidimportReport(File reportPath, org.sonar.api.batch.sensor.SensorContext context, Set<String> unresolvedInputFiles) protected Stringprotected org.slf4j.Loggerlogger()protected Stringprotected booleanshouldExecute(org.sonar.api.config.Configuration conf) Methods inherited from class org.sonar.plugins.python.ExternalIssuesSensor
describe, execute, saveIssue
-
Field Details
-
LINTER_NAME
- See Also:
-
LINTER_KEY
- See Also:
-
REPORT_PATH_KEY
- See Also:
-
-
Constructor Details
-
MypySensor
public MypySensor()
-
-
Method Details
-
importReport
protected void importReport(File reportPath, org.sonar.api.batch.sensor.SensorContext context, Set<String> unresolvedInputFiles) throws IOException - Specified by:
importReportin classExternalIssuesSensor- Throws:
IOException
-
shouldExecute
protected boolean shouldExecute(org.sonar.api.config.Configuration conf) - Specified by:
shouldExecutein classExternalIssuesSensor
-
linterName
- Specified by:
linterNamein classExternalIssuesSensor
-
reportPathKey
- Specified by:
reportPathKeyin classExternalIssuesSensor
-
logger
protected org.slf4j.Logger logger()- Specified by:
loggerin classExternalIssuesSensor
-