datahuborg/datahub

View on GitHub

Showing 1,132 of 1,132 total issues

Indentation is not a multiple of 4
Open

  """
Severity: Minor
Found in src/apps/dbwipes/scorpionutil.py by pep8

Use indent_size (PEP8 says 4) spaces per indentation level.

For really old code that you don't want to mess up, you can continue
to use 8-space tabs.

Okay: a = 1
Okay: if a == 0:\n    a = 1
E111:   a = 1
E114:   # a = 1

Okay: for item in items:\n    pass
E112: for item in items:\npass
E115: for item in items:\n# Hi\n    pass

Okay: a = 1\nb = 2
E113: a = 1\n    b = 2
E116: a = 1\n    # b = 2

Indentation is not a multiple of 4
Open

  results = []
Severity: Minor
Found in src/apps/dbwipes/scorpionutil.py by pep8

Use indent_size (PEP8 says 4) spaces per indentation level.

For really old code that you don't want to mess up, you can continue
to use 8-space tabs.

Okay: a = 1
Okay: if a == 0:\n    a = 1
E111:   a = 1
E114:   # a = 1

Okay: for item in items:\n    pass
E112: for item in items:\npass
E115: for item in items:\n# Hi\n    pass

Okay: a = 1\nb = 2
E113: a = 1\n    b = 2
E116: a = 1\n    # b = 2

Indentation is not a multiple of 4
Open

  if db != None:
Severity: Minor
Found in src/apps/dbwipes/db.py by pep8

Use indent_size (PEP8 says 4) spaces per indentation level.

For really old code that you don't want to mess up, you can continue
to use 8-space tabs.

Okay: a = 1
Okay: if a == 0:\n    a = 1
E111:   a = 1
E114:   # a = 1

Okay: for item in items:\n    pass
E112: for item in items:\npass
E115: for item in items:\n# Hi\n    pass

Okay: a = 1\nb = 2
E113: a = 1\n    b = 2
E116: a = 1\n    # b = 2

Do not use bare 'except'
Open

        except:
Severity: Minor
Found in src/core/db/rls_permissions.py by pep8

When catching exceptions, mention specific exceptions when possible.

Okay: except Exception:
Okay: except BaseException:
E722: except:

FIXME found
Open

  // spit out IEEE 754 bits - FIXME - will this get us in trouble on

FIXME found
Open

// FIXME

TODO found
Open

exports.checkRevision = checkRevision;// TODO: Remove this line and break up compilePartial

FIXME found
Open

  // FIXME - will this get us into trouble on PowerPC?

TODO found
Open

      // TODO: remove from other selection values in new selection

TODO found
Open

      // TODO: remove from other selection values in new selection

XXX found
Open

      # XXX: for better end-to-end performance
Severity: Minor
Found in src/apps/dbwipes/scorpionutil.py by fixme

TODO found
Open

        # TODO: Extend https://github.com/omab/python-social-auth/pull/747
Severity: Minor
Found in src/account/backends/oidc.py by fixme
Severity
Category
Status
Source
Language