How to use the setoptconf.CommandLineSource function in setoptconf

To help you get started, we’ve selected a few setoptconf examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github PyCQA / prospector / prospector / config / View on Github external
' deprecated and will be removed in a future update. Please'
                    ' use the positional PATH argument instead.'

    positional = (
        ('checkpath', {
            'help': 'The path to a Python project to inspect. Defaults to PWD'
                    '  if not specified. If multiple paths are specified,'
                    '  they must all be files (no directories).',
            'metavar': 'PATH',
            'nargs': '*',

    return soc.CommandLineSource(