Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Clean up of explicit namespace declaration#98

Merged
mgkwill merged 2 commits into
lava-nc:mainfrom
bamsumit:clean_init
Nov 23, 2021
Merged

Clean up of explicit namespace declaration#98
mgkwill merged 2 commits into
lava-nc:mainfrom
bamsumit:clean_init

Conversation

@bamsumit

@bamsumit bamsumit commented Nov 23, 2021

Copy link
Copy Markdown
Contributor
  • explicit namespace declaration cleanup
  • unittests runnable from root level or anywhere in tests/
    python -m unittest

Signed-off-by: bamsumit <bam_sumit@hotmail.com>
Signed-off-by: bamsumit <bam_sumit@hotmail.com>
@bamsumit bamsumit linked an issue Nov 23, 2021 that may be closed by this pull request
@bamsumit

Copy link
Copy Markdown
Contributor Author

Copying PyCharm config instruction from here

  • put the 'src' directories (e.g., lava/src) of all lava repositories into the PYTHONPATH
  • Mark all 'src' directories (e.g., lava/src) as "Sources Root"
  • Mark all 'tests/lava' (NOT tests!) directories (e.g., lava/tests/lava) as "Test Sources Root"

@mathisrichter mathisrichter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice!

@mathisrichter mathisrichter added this to the Release v0.2.0 milestone Nov 23, 2021

@mgkwill mgkwill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks good to me.

Works from the command line as @bamsumit suggested with python -m unittest and in VS Code using . as root of testing.

Thanks @bamsumit for reworking this change from a clean branch and the testing and effort!

@mgkwill mgkwill merged commit e6ba2d9 into lava-nc:main Nov 23, 2021
@bamsumit bamsumit deleted the clean_init branch November 23, 2021 23:19
monkin77 pushed a commit to monkin77/thesis-lava that referenced this pull request Jul 12, 2024
* new init clean from main
* fix build and tests's inits
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove legacy __init__.py code

3 participants