Skip to content

improve meep code quality #2163

@joamatab

Description

@joamatab

Improve quality code:

  • add pre-commit hooks for keeping the quality up and apply black format (clean code #2164)
  • add type annotations
  • fix mypy issues
  • fix flake8 for syntax errors flake8 python --count gives 1193 errors
  • simplify code (clean code #2164)
  • Replace if statement with if expression (assign-if-exp)
  • Convert for loop into list comprehension (list-comprehension)
  • use fstrings

Keep up quality code

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions