maestro-server/scheduler-app

View on GitHub

Showing 232 of 232 total issues

Line too long (86 > 79 characters)
Open

            task_chain_exec.apply_async((task.get('task'), args), countdown=countdown)
Severity: Minor
Found in app/tasks/chain.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

Line too long (81 > 79 characters)
Open

from app.services.privateAuth.decorators.external_private_token import create_jwt
Severity: Minor
Found in app/tasks/webhook.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

Line too long (95 > 79 characters)
Open

    MAESTRO_MONGO_COLLECTION = os.environ.get("MAESTRO_MONGO_COLLECTION", "schedulers_control")
Severity: Minor
Found in instance/config.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

Line too long (94 > 79 characters)
Open

    SECRETJWT_PRIVATE = os.environ.get("MAESTRO_SECRETJWT_PRIVATE", "defaultSecretKeyPrivate")
Severity: Minor
Found in instance/config.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

Invalid escape sequence '\s'
Open

    match = re.search('charset=(\S+)', content_type)

Invalid escape sequences are deprecated in Python 3.6.

Okay: regex = r'\.png$'
W605: regex = '\.png$'

Line too long (99 > 79 characters)
Open

        tasks = {'connections': task_connections, 'webhook': task_webhook, 'reports': task_reports}
Severity: Minor
Found in app/services/spawn.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

No newline at end of file
Open

            logger.info('Scheduler: Task executed %s (%s)', task_id, counter_id)
Severity: Minor
Found in app/services/spawn.py by pep8

Trailing blank lines are superfluous.

Okay: spam(1)
W391: spam(1)\n

However the last line should end with a new line (warning W292).

FIXME found
Open

    # FIXME: add Filters and other advanced features
Severity: Minor
Found in share/doc/pycurl/examples/linksys.py by fixme

XXX found
Open

| MAESTRO_SECRETJWT_PRIVATE    | XXX                      | Secret Key - JWT private connections        |
Severity: Minor
Found in README.md by fixme

FIXME found
Open

    # FIXME: Add support for setting WEP keys
Severity: Minor
Found in share/doc/pycurl/examples/linksys.py by fixme

XXX found
Open

| MAESTRO_NOAUTH               | XXX                      | Secret Pass to validate private connections |
Severity: Minor
Found in README.md by fixme

FIXME found
Open

    # FIXME: add support for setting WINS key
Severity: Minor
Found in share/doc/pycurl/examples/linksys.py by fixme
Severity
Category
Status
Source
Language