Skip to content

Version 3.0.0 plan #30

@kan-fu

Description

@kan-fu

Plan to release version 2.4.0 after pytest and documentation PRs are merged. This is to match the new documentation since from onc import ONC is not supported in 2.3.5.

After that, plan to introduce some breaking changes to 3.0.0.

  • Change all the camelCase to snake_case. (Possibly include pylint in the linting tool). Aliases are kept for backward compatibility. (getLocations = get_locations)
  • Remove all the util functions that is not used internally. This includes print and formatUtc methods in the ONC class, and the whole onc.util.util.py file. I doube any one would use them since there are no documentations.
  • Code refactor (not necessarily break anything). I plan to get rid of _config method in _OncService.py as it makes it hard for the IDE to track the references of the instance variables of the ONC class. Also plan to use dataclass for ONC. I will elaborate my ideas later to ask for some suggestions.
  • Include static type check (mypy) in CI (optionally). Not sure how much work that will need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions