apel/parsers/__init__.py

Summary

Maintainability
A
0 mins
Test Coverage

No name 'Parser' in module 'parser'
Open

from parser import Parser
Severity: Critical
Found in apel/parsers/__init__.py by pylint

Used when a name cannot be found in a module.

Module level import not at top of file
Open

from parser import Parser
Severity: Minor
Found in apel/parsers/__init__.py by pep8

Place imports at the top of the file.

Always put imports at the top of the file, just after any module
comments and docstrings, and before module globals and constants.

Okay: import os
Okay: # this is a comment\nimport os
Okay: '''this is a module docstring'''\nimport os
Okay: r'''this is a module docstring'''\nimport os
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nelse:\n\tpass\nimport y
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nfinally:\n\tpass\nimport y
E402: a=1\nimport os
E402: 'One string'\n"Two string"\nimport os
E402: a=1\nfrom sys import x

Okay: if x:\n    import os

Module level import not at top of file
Open

from pbs import PBSParser
Severity: Minor
Found in apel/parsers/__init__.py by pep8

Place imports at the top of the file.

Always put imports at the top of the file, just after any module
comments and docstrings, and before module globals and constants.

Okay: import os
Okay: # this is a comment\nimport os
Okay: '''this is a module docstring'''\nimport os
Okay: r'''this is a module docstring'''\nimport os
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nelse:\n\tpass\nimport y
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nfinally:\n\tpass\nimport y
E402: a=1\nimport os
E402: 'One string'\n"Two string"\nimport os
E402: a=1\nfrom sys import x

Okay: if x:\n    import os

Module level import not at top of file
Open

from sge import SGEParser
Severity: Minor
Found in apel/parsers/__init__.py by pep8

Place imports at the top of the file.

Always put imports at the top of the file, just after any module
comments and docstrings, and before module globals and constants.

Okay: import os
Okay: # this is a comment\nimport os
Okay: '''this is a module docstring'''\nimport os
Okay: r'''this is a module docstring'''\nimport os
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nelse:\n\tpass\nimport y
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nfinally:\n\tpass\nimport y
E402: a=1\nimport os
E402: 'One string'\n"Two string"\nimport os
E402: a=1\nfrom sys import x

Okay: if x:\n    import os

Module level import not at top of file
Open

from lsf import LSFParser
Severity: Minor
Found in apel/parsers/__init__.py by pep8

Place imports at the top of the file.

Always put imports at the top of the file, just after any module
comments and docstrings, and before module globals and constants.

Okay: import os
Okay: # this is a comment\nimport os
Okay: '''this is a module docstring'''\nimport os
Okay: r'''this is a module docstring'''\nimport os
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nelse:\n\tpass\nimport y
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nfinally:\n\tpass\nimport y
E402: a=1\nimport os
E402: 'One string'\n"Two string"\nimport os
E402: a=1\nfrom sys import x

Okay: if x:\n    import os

Module level import not at top of file
Open

from blah import BlahParser
Severity: Minor
Found in apel/parsers/__init__.py by pep8

Place imports at the top of the file.

Always put imports at the top of the file, just after any module
comments and docstrings, and before module globals and constants.

Okay: import os
Okay: # this is a comment\nimport os
Okay: '''this is a module docstring'''\nimport os
Okay: r'''this is a module docstring'''\nimport os
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nelse:\n\tpass\nimport y
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nfinally:\n\tpass\nimport y
E402: a=1\nimport os
E402: 'One string'\n"Two string"\nimport os
E402: a=1\nfrom sys import x

Okay: if x:\n    import os

Module level import not at top of file
Open

from htcondor import HTCondorParser
Severity: Minor
Found in apel/parsers/__init__.py by pep8

Place imports at the top of the file.

Always put imports at the top of the file, just after any module
comments and docstrings, and before module globals and constants.

Okay: import os
Okay: # this is a comment\nimport os
Okay: '''this is a module docstring'''\nimport os
Okay: r'''this is a module docstring'''\nimport os
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nelse:\n\tpass\nimport y
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nfinally:\n\tpass\nimport y
E402: a=1\nimport os
E402: 'One string'\n"Two string"\nimport os
E402: a=1\nfrom sys import x

Okay: if x:\n    import os

Module level import not at top of file
Open

from slurm import SlurmParser
Severity: Minor
Found in apel/parsers/__init__.py by pep8

Place imports at the top of the file.

Always put imports at the top of the file, just after any module
comments and docstrings, and before module globals and constants.

Okay: import os
Okay: # this is a comment\nimport os
Okay: '''this is a module docstring'''\nimport os
Okay: r'''this is a module docstring'''\nimport os
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nelse:\n\tpass\nimport y
Okay:
try:\n\timport x\nexcept ImportError:\n\tpass\nfinally:\n\tpass\nimport y
E402: a=1\nimport os
E402: 'One string'\n"Two string"\nimport os
E402: a=1\nfrom sys import x

Okay: if x:\n    import os

Import from htcondor import HTCondorParser should be placed at the top of the module
Open

from htcondor import HTCondorParser
Severity: Info
Found in apel/parsers/__init__.py by pylint

Used when code and imports are mixed

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

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

Import from parser import Parser should be placed at the top of the module
Open

from parser import Parser
Severity: Info
Found in apel/parsers/__init__.py by pylint

Used when code and imports are mixed

Import from lsf import LSFParser should be placed at the top of the module
Open

from lsf import LSFParser
Severity: Info
Found in apel/parsers/__init__.py by pylint

Used when code and imports are mixed

Import from slurm import SlurmParser should be placed at the top of the module
Open

from slurm import SlurmParser
Severity: Info
Found in apel/parsers/__init__.py by pylint

Used when code and imports are mixed

Import from blah import BlahParser should be placed at the top of the module
Open

from blah import BlahParser
Severity: Info
Found in apel/parsers/__init__.py by pylint

Used when code and imports are mixed

There are no issues that match your filters.

Category
Status