ansys / ansys/grantami-serverapi-openapi

Improve how we format generated code

Open
#851 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
0
Avg merge
9h 34m
Merged PRs (30d)
19

Description

We use pre-commit to format generated code as part of code generation CI.

However, this is a bit awkward. We can't use pre-commit.ci to update these versions because it seems to break the state of the repo (see #850).

We should consider if we can use Python code formatting tools directly, possibly as part of the generated library.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the generated-code CI and its pre-commit configuration, then read issue #850 to understand the repository-state failure. Compare the current workflow with the possible Python formatting-tool approach; done requires a clear, working formatting process for generated code without the reported state breakage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ci-cd, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.