Showing 1,558 of 1,565 total issues

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.

Cyclic import (apel.db.records -> apel.db.records.normalised_summary)
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.

Unable to import 'future.builtins'
Open

from future.builtins import object
Severity: Critical
Found in apel/parsers/parser.py by pylint

Used when pylint has been unable to import a module.

Catching too general exception Exception
Open

        except Exception:  # An exception means we can't parse the file!
Severity: Minor
Found in apel/parsers/parser.py by pylint

Used when an except catches a too general exception, possibly burying unrelated errors.

Method could be a function
Open

    def _load_multipliers(self):
Severity: Info
Found in apel/parsers/sge.py by pylint

Used when a method doesn't use its bound instance, and so could be written as a function.

Unable to import 'future.builtins'
Open

from future.builtins import zip
Severity: Critical
Found in apel/parsers/pbs.py by pylint

Used when pylint has been unable to import a module.

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

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

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

Catching too general exception Exception
Open

    except Exception:
Severity: Minor
Found in apel/common/parsing_utils.py by pylint

Used when an except catches a too general exception, possibly burying unrelated errors.

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

    for tb in tbstack[1:]:
Severity: Info
Found in apel/common/exceptions.py by pylint

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

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)

Cyclic import (apel.db.records -> apel.db.records.group_attribute)
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.

Wrong continued indentation (add 1 space).
Open

                  'StartTime'       : lambda x: int(round(float(x[9])/divisor)),
Severity: Info
Found in apel/parsers/sge.py by pylint

TODO 'StartTime' : lambda x: int(round(float(x[9])/divisor)), ^|

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])), ^|

Line too long (103/100)
Open

    "/afs/cern.ch/user/r/raortega/log/berr-step3c-362.txt" "1089290023.699195" 0 1 "tbed0079" 64 3.3 ""
Severity: Info
Found in apel/parsers/lsf.py by pylint

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

Anomalous backslash in string: 'd'. String constant might be missing an r prefix.
Open

    '''
Severity: Minor
Found in apel/parsers/lsf.py by pylint

Used when a backslash is in a literal string but not as an escape.

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

import datetime
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)

Import from .pbs import PBSParser should be placed at the top of the module
Open

from .pbs import PBSParser
Severity: Info
Found in apel/parsers/__init__.py by pylint

Used when code and imports are mixed

Line too long (152/100)
Open

    end=1317534104 Exit_status=0 resources_used.cput=18:15:24 resources_used.mem=2031040kb resources_used.vmem=3335528kb resources_used.walltime=19:23:4
Severity: Info
Found in apel/parsers/pbs.py by pylint

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

Anomalous backslash in string: '.'. String constant might be missing an r prefix.
Open

    pattern += "([0-9]+[\.,]?[0-9]*S)?"  # seconds
Severity: Minor
Found in apel/common/datetime_utils.py by pylint

Used when a backslash is in a literal string but not as an escape.

Severity
Category
Status
Source
Language