Skip to content

[REQ] Overall python generators syntax and format improvements #16384

@anis-campos

Description

@anis-campos

Is your feature request related to a problem? Please describe.

Following #16377, and seeing that there is still work to be done (#16382, #16378, etc...) , it would be more effective to create a issue to track the advancement

Describe the solution you'd like

There is several aspects to this issue:

  • Chose a minimal python version to be used ( 3.7 ? ) and make sure the python syntax is properly use in all python generator. some tooling like pyupgrade, can point at what needs to be changed by fixing the samples and changing the generator to achieve the same.
  • Add type hints
  • Fix the formatting ( once again, tooling to help: isort, black, flake, etc....)

Some optional points:

  • check the dependencies, they might be outdated

Task list

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