Skip to content

Code cleanups/refactoring #494

@paravoid

Description

@paravoid

Per the comment on #493, I'm opening this issue to discuss a pending cleanup that I'm working on. This is in an effort to a) improve code hygiene and b) fix bugs in the process. PR #493 above has:

  • Make this a proper Python package (moving files around + ~15 lines of change)
  • Add a test suite with a battery of tests (no-op) + tox.ini

On top of it, I have the following:

  • Cleanup/rewrite/refactor of almost every file (code structure)
  • Bunch of bugfixes
  • Improving human-readable output (logging etc.)
  • Standardizing on the syntax (PEP8, black etc.)
  • Comments/documentation

Via linting and code testing, hopefully this will also ensure (via all of the above) that bugs don't get introduced in the future :)

You can see the work so far in my GitHub fork.

There are a couple more modules pending -- I wanted to wrap this up this week and then open issues/PRs, but I'm opening it a bit early given the feedback on the issue above :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions