Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Linting

  • Need to add deprecation ticket to a separate annotation for convenient filtering out during future reviews

  • (HIGH) Add annotation for toggle_target_value (get name reviewed) to document whether to keep the True or False case once removed.

    • Required for temporary toggles. Is it useful to have this in the code, or is some of this DEPR metadata better kept in the DEPR ticket alone?

  • (HIGH) Add annotation for toggle_depr_ticket to make it simpler to know if a toggle has an associated DEPR ticket.

    • Required for temporary toggles? Would it be better to create the DEPR ticket when creating the toggle?

  • (HIGH) Ensure undefined annotations are not allowed.

  • (MEDIUM) Possible bug where required fields for temporary use case might be missed when multiple use cases are listed.

    • Note: This is not high priority, because we should prioritize switch to new toggle_life_expectancy annotation, which will make this go away.

  • (MEDIUM) Ensure optional annotations are not set to None.

  • [RG]* (HIGH) Ensure a properly formatted date for toggle_target_removal_date annotation.

  • Check toggle_implementation annotation matches actual implementation class used when possible.

  • No linting exists to ensure settings are annotated.

    • Needs brainstorming if we think this would be important.

  • No linting exists to ensure ConfigModels with booleans are annotated.

...