Skip to content

Cleaned up the setup logic#3624

Merged
alex-jansen merged 3 commits intomainfrom
common_setup
Sep 16, 2024
Merged

Cleaned up the setup logic#3624
alex-jansen merged 3 commits intomainfrom
common_setup

Conversation

@MatthiasWiesmann
Copy link
Contributor

Moved all the initialisation logic into a init.py file.
Migrated all the code in software/util to use this mechanism.

Copy link
Contributor

Choose a reason for hiding this comment

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

nit: double import

_INITIALIZED = True


def CheckWorkingDirectory():
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you intend to call this after Setup()? I can't see it referenced

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I meant to call it from the buildsite.py file. Fixed.

Copy link
Contributor

@jlndr jlndr left a comment

Choose a reason for hiding this comment

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

LGTM

@alex-jansen alex-jansen merged commit 7ba41ff into main Sep 16, 2024
@alex-jansen alex-jansen deleted the common_setup branch September 16, 2024 14:13
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.

4 participants

Comments