Showing 1,562 of 1,569 total issues

Wrong continued indentation (add 1 space).
Open

                  'CpuDuration'     : lambda x: int(round(float(x[36]))*self._get_cpu_multiplier(x[1])),
Severity: Info
Found in apel/parsers/sge.py by pylint

TODO 'CpuDuration' : lambda x: int(round(float(x[36]))*self.getcpu_multiplier(x[1])), ^|

Wrong continued indentation (add 1 space).
Open

                  'MemoryVirtual'   : lambda x: int(float(x[42])),
Severity: Info
Found in apel/parsers/sge.py by pylint

TODO 'MemoryVirtual' : lambda x: int(float(x[42])), ^|

Constant name log doesn't conform to UPPER_CASE naming style
Open

log = logging.getLogger(__name__)
Severity: Info
Found in apel/parsers/sge.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Variable name rc doesn't conform to snake_case naming style
Open

        rc = {}
Severity: Info
Found in apel/parsers/slurm.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

standard import import time should be placed before from apel.common import parse_time
Open

import time
Severity: Info
Found in apel/parsers/slurm.py by pylint

Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)

Variable name cp doesn't conform to snake_case naming style
Open

    cp = re.compile(pattern)
Severity: Info
Found in apel/common/datetime_utils.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

standard import import datetime should be placed before import iso8601
Open

import datetime
Severity: Info
Found in apel/common/datetime_utils.py by pylint

Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)

standard import import re should be placed before import iso8601
Open

import re
Severity: Info
Found in apel/common/datetime_utils.py by pylint

Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)

Cyclic import (apel.db -> apel.db.apeldb -> apel.db.backends.mysql -> apel.db.records -> apel.db.records.record)
Open

"""A setup script for APEL.
Severity: Info
Found in setup.py by pylint

Used when a cyclic import between two or more modules is detected.

Line too long (105/100)
Open

                  'WallDuration'    : lambda x: int(round(float(x[13]))*self._get_wall_multiplier(x[1])),
Severity: Info
Found in apel/parsers/sge.py by pylint

Used when a line is longer than a given number of characters.

Unnecessary pass statement
Open

    pass
Severity: Minor
Found in apel/db/loader/xml_parser.py by pylint

Used when a pass statement that can be avoided is encountered.

Wrong continued indentation (add 1 space).
Open

                  'NodeCount'       : lambda x: 0}
Severity: Info
Found in apel/parsers/sge.py by pylint

TODO 'NodeCount' : lambda x: 0} ^|

Missing class docstring
Open

class ParserException(Exception):
Severity: Info
Found in apel/parsers/parser.py by pylint

Used when a class has no docstring.Even an empty class must have a docstring.

Line too long (102/100)
Open

        (\"([^"]|(""))*\") - we are looking for everything between " and " except for double quotation
Severity: Info
Found in apel/parsers/lsf.py by pylint

Used when a line is longer than a given number of characters.

Exactly one space required after comma
Open

        parts = [x.split('=',1) for x in [y for y in self.LINE_EXPR.split(line) if len(y) > 1]]
Severity: Info
Found in apel/parsers/blah.py by pylint

Used when a wrong number of spaces is used around an operator, bracket or block opener. parts = [x.split('=',1) for x in [y for y in self.LINE_EXPR.split(line) if len(y) > 1]] ^

standard import import re should be placed before from apel.db.records.blahd import BlahdRecord
Open

import re
Severity: Info
Found in apel/parsers/blah.py by pylint

Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)

Line too long (104/100)
Open

                  'CpuDuration'     : lambda x: int(round(float(x[36]))*self._get_cpu_multiplier(x[1])),
Severity: Info
Found in apel/parsers/sge.py by pylint

Used when a line is longer than a given number of characters.

Import from .sge import SGEParser should be placed at the top of the module
Open

from .sge import SGEParser
Severity: Info
Found in apel/parsers/__init__.py by pylint

Used when code and imports are mixed

Wrong continued indentation (add 1 space).
Open

                  'Infrastructure'  : lambda x: "APEL-CREAM-SGE",
Severity: Info
Found in apel/parsers/sge.py by pylint

TODO 'Infrastructure' : lambda x: APEL-CREAM-SGE, ^|

Cyclic import (apel.db.records -> apel.db.records.sync)
Open

"""A setup script for APEL.
Severity: Info
Found in setup.py by pylint

Used when a cyclic import between two or more modules is detected.

Severity
Category
Status
Source
Language