

@classmethod
def register_options(cls, register):
    super(Checkstyle, cls).register_options(cls)
    register('--skip', type=bool, fingerprint=True, help='Skip checkstyle.')
    register('--configuration', advanced=True, type=file_option, fingerprint=True, help='Path to the checkstyle configuration file.')
    register('--properties', advanced=True, type=dict, default={
        
    }, fingerprint=True, help='Dictionary of property mappings to use for checkstyle.properties.')
    register('--confs', advanced=True, type=list, default=['default'], help='One or more ivy configurations to resolve for this target.')
    register('--include-user-classpath', type=bool, fingerprint=True, help='Add the user classpath to the checkstyle classpath')
    cls.register_jvm_tool(register, 'checkstyle', classpath=[JarDependency(org='com.puppycrawl.tools', name='checkstyle', rev='6.1.1')], main=cls._CHECKSTYLE_MAIN, custom_rules=[Shader.exclude_package('com.puppycrawl.tools.checkstyle', recursive=True)])

dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/tasks/checkstyle.py Checkstyle.register_options/VarMisuse@24/28 `register`->`cls`