How to use the black.configure.Datum.__init__ function in black

To help you get started, we’ve selected a few black 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 Komodo / KomodoEdit / util / black / lib / python / black / configure / std.py View on Github external
def __init__(self):
        Datum.__init__(self, "pythonBinDir", "the Python bin directory")
github Komodo / KomodoEdit / util / black / lib / python / black / configure / std.py View on Github external
def __init__(self):
        Datum.__init__(self, "pythonVersion", desc="the python version")
github Komodo / KomodoEdit / util / black / lib / python / black / configure / std.py View on Github external
def __init__(self):
        Datum.__init__(self, "path", desc="the configured PATH setting")
github Komodo / KomodoEdit / util / black / lib / python / black / configure / std.py View on Github external
def __init__(self, compilerVersion="vc6"):
        Datum.__init__(self, "msvcInstallDir",
            desc="the installation directory of Microsoft Visual %s" % (compilerVersion),
            serializeAs=[])
        self._compilerVersion = compilerVersion.lower()
github Komodo / KomodoEdit / util / black / lib / python / black / configure / mozilla.py View on Github external
def __init__(self):
        Datum.__init__(self, "mozBin", "the Mozilla bin directory")
github Komodo / KomodoEdit / util / black / lib / python / black / configure / std.py View on Github external
def __init__(self, name=None, desc=None,
                 # The id of the configuration item describing the perl
                 # installation in which to check for these modules.
                 perlBinDirItemName="perlBinDir"):
        self.perlBinDirItemName = perlBinDirItemName
        if name is None:
            name = "activePerlBuild"
        if desc is None:
            desc="the ActivePerl build number"
        Datum.__init__(self, name, desc)
github Komodo / KomodoEdit / util / black / lib / python / black / configure / std.py View on Github external
def __init__(self):
        Datum.__init__(self, "msvcrtDebugDllsInstalled",
            desc="the Microsoft Runtime debugging DLLs installed")
github Komodo / KomodoEdit / util / black / lib / python / black / configure / std.py View on Github external
def __init__(self):
        Datum.__init__(self, "pythonInstallDir",
            desc="the Python installation directory")
github Komodo / KomodoEdit / util / black / lib / python / black / configure / std.py View on Github external
def __init__(self):
        Datum.__init__(self, "perlInstallDir",
            desc="Perl installation directory")
github Komodo / KomodoEdit / util / black / lib / python / black / configure / mozilla.py View on Github external
def __init__(self):
        Datum.__init__(self, "createMozconfig",\
            desc="create the Mozilla Unix build configuration file "\
                 "(~/.mozconfig)",
            serializeAs=[]
        )