Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create conda package for Anaconda #21

Merged
merged 2 commits into from
Apr 4, 2024
Merged

Create conda package for Anaconda #21

merged 2 commits into from
Apr 4, 2024

Conversation

searscr
Copy link
Contributor

@searscr searscr commented Apr 3, 2024

Description of Changes:

Related Items

To Test:

cd /path/to/my/local/garnet/repo/
git fetch origin pull/<PULL_REQUEST_NUMBER>/head:pr<PULL_REQUEST_NUMBER>
git switch pr<PULL_REQUEST_NUMBER>
conda activate <garnet_environment>
python -m pytest <item_to_test>

Check list for the pull request

  • I have read the [CONTRIBUTING]
  • I have read the [CODE_OF_CONDUCT]
  • I have added tests for my changes
  • I have updated the documentation accordingly

Check list for the reviewer

  • I have read the [CONTRIBUTING]
  • I have verified the proposed changes
  • best software practices
    • all internal functions have an underbar, as is python standard
    • clearly named variables (better to be verbose in variable names)
    • code comments explaining the intent of code blocks
  • All the tests are passing
  • The documentation is up to date
  • code comments added when explaining intent

Copy link

codecov bot commented Apr 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (4a59b24) to head (19fbe1d).
Report is 2 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff            @@
##              next       #21   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines          236       236           
=========================================
  Hits           236       236           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -66,3 +66,4 @@ ignore = ["D203", # conflict with D211
"D213", # conflict with D212
"D400", "D415", "ANN201", # Unnecessary
]
exclude = ["src/garnet/helpers/__init__.py", "src/garnet/helpers/ui_elements/__init__.py"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we do not need to exclude this

Copy link
Collaborator

@mpatrou mpatrou Apr 4, 2024

Choose a reason for hiding this comment

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

we can exclude: tests*, notebooks* and scripts*, though

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The conda package fails to build if duplicate files are found. It usually ignores __init__.py files but because our linter is setup to require every file to have a docstring at the top of the file it thinks those are duplicate files.

@searscr searscr merged commit 31132d3 into next Apr 4, 2024
5 of 6 checks passed
@searscr searscr deleted the ewm3804 branch April 4, 2024 15:49
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.

2 participants