Package org.sonar.python.checks
Class OneStatementPerLineCheck
- java.lang.Object
-
- org.sonar.plugins.python.api.PythonSubscriptionCheck
-
- org.sonar.python.checks.OneStatementPerLineCheck
-
- All Implemented Interfaces:
PythonCheck,SubscriptionCheck
public class OneStatementPerLineCheck extends PythonSubscriptionCheck
Note that implementation differs from AbstractOneStatementPerLineCheck due to Python specifics
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.PythonCheck
PythonCheck.PreciseIssue
-
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.SubscriptionCheck
SubscriptionCheck.Context
-
-
Constructor Summary
Constructors Constructor Description OneStatementPerLineCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(SubscriptionCheck.Context context)voidleaveFile()-
Methods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
scanFile
-
-
-
-
Field Detail
-
CHECK_KEY
public static final String CHECK_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(SubscriptionCheck.Context context)
-
leaveFile
public void leaveFile()
- Overrides:
leaveFilein classPythonSubscriptionCheck
-
-