Skip to content

[IMPROVE] Logging statements #26

Closed

Description

@CoMPaTech

Describe the improvement
Todo:

  • Write Logging style specific (decide on ending with dots etc.)?

Verify _LOGGER statements validity:

  • Do we need them?
  • When we need them, can we make them smarter (call a function, to DRY (dont repeat yourself))?
  • If they are valid, rewrite to f"Some {var1} into {var2}" from "Some %s into %s."

From findings during #24

Activity

  1. added
    bug
    enhancement
    invalid
    on Oct 30, 2020
  2. CoMPaTech commented on Nov 8, 2020

    @CoMPaTech
    MemberAuthor

    If we do (still) want this (to have the same way of formatting strings), we'll have to adjust the formatter
    logging continues to use % but you can switch it to { even though it will itself use % again as its optimised for it

  3. linked a pull request that will close this issueQA: Improve code - reintroduce flake/lint #128on Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenhancementinvalid

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions