OpenMDAO / OpenMDAO/Aviary

Search for and replace hardcoded constants that don't use `constants.py`

Open
#1,193 0 comments 0 reactions 5 assignees View on GitHub

@cmbenne3 is already working on this.

Since Jul 13, 2026.

code cleanup
Dominant language
Python
Stars
287
Forks
140
Avg merge
6d 14h
Merged PRs (30d)
18

Description

Desired capability or behavior.

There are probably places in Aviary where we are using values for constants but they never got attached to constants.py, so when we update those constants the values won't be properly used. We need to search through the codebase to 1. find places where existing constants are being hardcoded, and 2. look for additional hardcoded constants that should get added to constants.py (we will want to update their values to match an official source)

Suggested implementation.

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.