Hrabal/TemPy

View on GitHub

Showing 205 of 205 total issues

Indentation contains tabs
Open

                else:
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

    def _evaluate_tempy_repr(self, child, repr_cls):
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

                    method for method in dir(parent_cls) if method.startswith("_reprscore")
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

        ret = []
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

        "style": lambda x: " ".join("%s: %s;" % (k, v) for k, v in x.items()),
Severity: Minor
Found in tempy/bases.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

        self.content_data = kwargs
Severity: Minor
Found in tempy/bases.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

                else:
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

        for cls in cls_list:
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

            # One point if the REPR have the same name of the Tempy tree root
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

    def _search_for_view(self, obj):
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

            self._filter_classes(obj.__class__.__dict__.values(), TempyREPR),
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

        if sorted_reprs:
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

            # If we find some TempyREPR, we return the one with the best score.
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

        for k, v in self.attrs.items():
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

                if v is bool:
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

    _FORMAT_ATTRS = {
Severity: Minor
Found in tempy/bases.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

            if isinstance(child, str):
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

                    fnc = self._FORMAT_ATTRS.get(k, None)
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

            id(self),
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn

Indentation contains tabs
Open

            " %d childs." % len(self.childs) if self.childs else "",
Severity: Minor
Found in tempy/renderer.py by pep8

On new projects, spaces-only are strongly recommended over tabs.

Okay: if True:\n    return
W191: if True:\n\treturn
Severity
Category
Status
Source
Language