Skip to content

Latest commit

 

History

History
23 lines (23 loc) · 993 Bytes

TODO.org

File metadata and controls

23 lines (23 loc) · 993 Bytes

[10/17]

  • [X] check for excess stuff in __init__.py
    • [X] no functions
    • [X] no classes
  • [X] enforce trailing commas
  • [X] enforce parens around implicit string literal concatentation
  • [X] no implicit relative imports
  • [ ] enforce isort (does isort have an API?)
  • [X] see if anything can be done about determining where in a docstring errors are
  • [ ] determine what to do about string formatting
    • [ ] disallow % entirely?
    • [ ] enforce u”.format or b”.format but not ”.format?
    • [ ] how many positional before requiring names?
  • [ ] check for redundant words (‘function’, ‘class’) in docstrings
  • [X] disallow print and pdb imports
  • [X] disallow map/filter+lambda
  • [ ] check for ‘def’ where ‘class’ is intended
  • [X] no list comps for side effects
  • [X] del/return are not functions
  • [ ] catch misuse of super
  • [X] see if ‘line too long’ errors can be smarter
  • [ ] catch docstrings as comments?
  • [ ] no “check” in test docstrings either