Skip to content

Instantly share code, notes, and snippets.

@abadger
Last active April 19, 2022 17:16
Show Gist options
  • Select an option

  • Save abadger/bdd3f6313f62c7af70d472ae603cc98d to your computer and use it in GitHub Desktop.

Select an option

Save abadger/bdd3f6313f62c7af70d472ae603cc98d to your computer and use it in GitHub Desktop.
+-------------------------------+------------+
|message id |occurrences |
+===============================+============+
|consider-using-f-string |182 | Disable until we can require python-3.6+
+-------------------------------+------------+
|logging-not-lazy |123 | `log.warn("Message %s" % var)` => `log.warn("Message %s", var)`
+-------------------------------+------------+
|useless-object-inheritance |17 | Add `__metaclass__ = type` to the top of all files and remove `object` from class
+-------------------------------+------------+
|logging-format-interpolation |13 |
+-------------------------------+------------+
|inconsistent-return-statements |11 | Sometimes spots bugs. Use explicit `return None` if intended
+-------------------------------+------------+
|invalid-name |10 | May want to add more valid names in configuration
+-------------------------------+------------+
|no-else-return |8 |
+-------------------------------+------------+
|import-outside-toplevel |7 | Likely part of cyclic imports problem
+-------------------------------+------------+
|useless-return |6 |
+-------------------------------+------------+
|deprecated-method |6 |
+-------------------------------+------------+
|unspecified-encoding |5 |
+-------------------------------+------------+
|cyclic-import |5 |
+-------------------------------+------------+
|wrong-import-order |4 |
+-------------------------------+------------+
|super-with-arguments |4 | Cannot fix until we can require Python-3.0 and higher
+-------------------------------+------------+
|line-too-long |4 |
+-------------------------------+------------+
|consider-using-with |4 |
+-------------------------------+------------+
|unused-import |3 |
+-------------------------------+------------+
|too-many-arguments |3 |
+-------------------------------+------------+
|redefined-outer-name |3 |
+-------------------------------+------------+
|wildcard-import |2 |
+-------------------------------+------------+
|useless-else-on-loop |1 | This may be a bug
+-------------------------------+------------+
|unused-wildcard-import |1 |
+-------------------------------+------------+
|unused-format-string-argument |1 | This may be a bug
+-------------------------------+------------+
|ungrouped-imports |1 |
+-------------------------------+------------+
|superfluous-parens |1 |
+-------------------------------+------------+
|simplifiable-if-expression |1 |
+-------------------------------+------------+
|simplifiable-condition |1 |
+-------------------------------+------------+
|reimported |1 |
+-------------------------------+------------+
|no-self-use |1 |
+-------------------------------+------------+
|no-else-break |1 |
+-------------------------------+------------+
|global-variable-not-assigned |1 | This may be a bug
+-------------------------------+------------+
|deprecated-module |1 |
+-------------------------------+------------+
|consider-using-dict-items |1 |
+-------------------------------+------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment