How to use the cog.PRINT_COG function in cog

To help you get started, weโ€™ve selected a few cog 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 fabioz / LiClipseText / plugins / org.brainwy.liclipsetext.editor / install.py View on Github external
def RunCog():

    import cog
    cog.PRINT_COG = False

    lst = [
        dict(ext='html,htm', kind='html', img='html'),
        dict(ext='xml,xsd', kind='xml', img='xml', filenames=".pydevproject,.project,.classpath", base_type="org.eclipse.core.runtime.xml"),
        dict(ext='js', kind='javascript', img='javascript'),
        dict(ext='java', kind='java', img='java'),
        dict(ext='liclipse', kind='liclipse', img='liclipse'),
        dict(ext='dxl', kind='dxl', img='dxl'),
        dict(ext='djhtml', kind='django', img='django'),
        dict(ext='py,pyw', kind='python', img='python', filenames="SConstruct,Sconstruct,sconstruct,SConscript"),
        dict(ext='c,cpp,h,hpp', kind='cpp', img='cpp'),
        dict(ext='css', kind='source.css', img='css'),
        dict(ext='scss', kind='source.scss', img='scss'),
        dict(ext='coffee', kind='coffeescript', img='coffee'),
        dict(ext='rst', kind='restructured text', img='rst'),
        dict(ext='dart', kind='dart', img='dart'),