Skip to content

[WIP] Organizational review #236

Open
@Funth0mas

Description

@Funth0mas

Organizational review summary:

  • Add canmatrix.formats package
  • Unify/define formats interface, consider to use zope.interface or simply abc.abstractclass
  • canmatrix.canmatrix module should be renamed - canmatrix.core ??
  • Possibly expose a particular few things via canmatrix.some_thing() - what classes ??
  • Decide and apply a consistent import 'format'
    • No from module import * (!)
  • Isolate CLI from library rather than colocating (use cli or cmd module?)
  • Use CLICK instead of optparse
  • pathlib2 or os.path ?
    • Well, decide one way or the other, altendky preference is for pathlib stuff.
  • snake_case for all except of classes, classes with UpperCamel - in progress
  • loadb for loading any format from a byte sequence
  • static typing
  • mypy running in CI
  • check and resolve class-wise duplicities (del_frame() vs remove_frame(), comment vs comments)
  • remove useless cm prefix from some files
  • ??

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions