Did I find the right examples for you? yes no

All Samples(109)  |  Call(108)  |  Derive(1)  |  Import(0)
Improper indentation.

src/p/a/Pass-1.0.5/Pass/base.py   Pass(Download)
                raise SyntaxError('multiple assignments not allowed', (f, n, None, line))
            elif variable[:1].isspace():
                raise IndentationError('unresolved variable indent', (f, n, None, line))
            elif variable.replace('_', '').isalnum():
                if variable[0].isdigit():
def check_indentation_errors(lines):
    for f, n, name, level, behind, sel, _sel in lines:
        if n == 0 and (_sel is True or _sel == MEDIA_TOKEN):
            raise IndentationError('expected an indented property 0', (f, n, None, name))
        elif behind > 1:
            raise IndentationError('unindent does not match any outer indentation level', (f, n, None, name))
        elif sel and sel in (IMPORT_TOKEN, MEDIA_TOKEN) and level > 0:
            raise IndentationError('expected %s selector on root level' % name, (f, n, None, name))
        elif sel and _sel and behind < 0:
            raise IndentationError('expected an indented property 1', (f, n, None, name))

src/p/y/pydroid-HEAD/src/pydroid/framework/project_skeleton/libs/python27/lib/python2.7/lib2to3/pgen2/tokenize.py   pydroid(Download)
                if column not in indents:
                    raise IndentationError(
                        "unindent does not match any outer indentation level",
                        ("<tokenize>", lnum, pos, line))
                indents = indents[:-1]

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/lib2to3/pgen2/tokenize.py   main(Download)
                if column not in indents:
                    raise IndentationError(
                        "unindent does not match any outer indentation level",
                        ("<tokenize>", lnum, pos, line))
                indents = indents[:-1]

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/CPython/27/Lib/lib2to3/pgen2/tokenize.py   main(Download)
                if column not in indents:
                    raise IndentationError(
                        "unindent does not match any outer indentation level",
                        ("<tokenize>", lnum, pos, line))
                indents = indents[:-1]

src/p/y/pydroid-HEAD/src/pydroid/framework/project_skeleton/libs/python27/lib/python2.7/tokenize.py   pydroid(Download)
                if column not in indents:
                    raise IndentationError(
                        "unindent does not match any outer indentation level",
                        ("<tokenize>", lnum, pos, line))
                indents = indents[:-1]

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/tokenize.py   main(Download)
                if column not in indents:
                    raise IndentationError(
                        "unindent does not match any outer indentation level",
                        ("<tokenize>", lnum, pos, line))
                indents = indents[:-1]

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/CPython/27/Lib/tokenize.py   main(Download)
                if column not in indents:
                    raise IndentationError(
                        "unindent does not match any outer indentation level",
                        ("<tokenize>", lnum, pos, line))
                indents = indents[:-1]

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/lib2to3/pgen2/tokenize.py   TrustRouter(Download)
                if column not in indents:
                    raise IndentationError(
                        "unindent does not match any outer indentation level",
                        ("<tokenize>", lnum, pos, line))
                indents = indents[:-1]

src/a/l/Alfred-Popclip-Sublime-HEAD/Sublime Text 2/Python PEP8 Autoformat/libs/py33/lib2to3/pgen2/tokenize.py   Alfred-Popclip-Sublime(Download)
                if column not in indents:
                    raise IndentationError(
                        "unindent does not match any outer indentation level",
                        ("<tokenize>", lnum, pos, line))
                indents = indents[:-1]

src/o/h/oh-mainline-HEAD/vendor/packages/sphinx/sphinx/pycode/pgen2/tokenize.py   oh-mainline(Download)
                if column not in indents:
                    raise IndentationError(
                        "unindent does not match any outer indentation level",
                        ("<tokenize>", lnum, pos, line))
                indents = indents[:-1]

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next