Skip to content

STY: Remove empty __init.py__ files.#3691

Merged
aerorahul merged 3 commits into
NOAA-EMC:developfrom
DWesl:remove-init-py-underscore
May 14, 2025
Merged

STY: Remove empty __init.py__ files.#3691
aerorahul merged 3 commits into
NOAA-EMC:developfrom
DWesl:remove-init-py-underscore

Conversation

@DWesl
Copy link
Copy Markdown
Contributor

@DWesl DWesl commented May 14, 2025

Description

#777 added __init.py__ files, which I think were meant to be __init__.py files to change Python's import behavior. Since the tests have been passing, Python doesn't seem to need these files, and I don't see another reason to keep them.

Resolves #3661

Type of change

  • Bug fix (fixes something broken)
  • New feature (adds functionality)
  • Maintenance (code refactor, clean-up, new CI test, etc.)

Change characteristics

  • Is this a breaking change (a change in existing functionality)? NO
  • Does this change require a documentation update? NO
  • Does this change require an update to any of the following submodules? NO (If YES, please add a link to any PRs that are pending.)
    • EMC verif-global
    • GDAS
    • GFS-utils
    • GSI
    • GSI-monitor
    • GSI-utils
    • UFS-utils
    • UFS-weather-model
    • wxflow

How has this been tested?

No tests, yet. I'm not sure how to test ecFlow, as I understand it is an alternative to rocoto

Checklist

  • Any dependent changes have been merged and published
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have documented my code, including function, input, and output descriptions
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • This change is covered by an existing CI test or a new one has been added
  • Any new scripts have been added to the .github/CODEOWNERS file with owners
  • I have made corresponding changes to the system documentation if necessary

This shouldn't affect anything.
Copy link
Copy Markdown
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.
Seems like a typo to me.

@aerorahul aerorahul merged commit 2db8e78 into NOAA-EMC:develop May 14, 2025
5 checks passed
KateFriedman-NOAA added a commit to KateFriedman-NOAA/global-workflow that referenced this pull request May 14, 2025
…path_usage

* origin/develop:
  STY: Remove empty __init.py__ files. (NOAA-EMC#3691)
  Relocate config templates to `dev/` space in prep for EE2 (NOAA-EMC#3684)
@DWesl DWesl deleted the remove-init-py-underscore branch May 14, 2025 13:46
tsga added a commit to tsga/global-workflow that referenced this pull request May 15, 2025
* develop:
  Move parm/config/sfs/config.globus to dev/parm/config/sfs (NOAA-EMC#3697)
  Add Fit2Obs to modulefiles/module_base.noaacloud.lua (NOAA-EMC#3695)
  Update AWS defaults for running obs prep jobs on cloud (NOAA-EMC#3681)
  Add GCAFS forecast-only mode to the workflow
  Adds marine DA ensstat files to archiving (NOAA-EMC#3631)
  Migrate to mercury for globus/hpss transfers from MSU (NOAA-EMC#3655)
  STY: Remove empty __init.py__ files. (NOAA-EMC#3691)
  Relocate config templates to `dev/` space in prep for EE2 (NOAA-EMC#3684)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Empty __init.py__ files should be removed or renamed __init__.py

2 participants