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

Cleanup #24

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Cleanup #24

wants to merge 16 commits into from

Conversation

nstarman
Copy link
Contributor

@nstarman nstarman commented Nov 15, 2023

Added type hints and docstrings.
Removed extraneous code.
Refactored the layout of some modules.
Moved the tests.

Requires #25

@nstarman
Copy link
Contributor Author

We need to establish some tests (unit / integration / benchmark) so that we can check these PRs aren't messing with the code.

Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
@nstarman
Copy link
Contributor Author

All of the current tests assume data files. We need to make some similar tests with small data files we can host on the repo.

Signed-off-by: nstarman <nstarman@users.noreply.github.com>
@codecov-commenter
Copy link

Codecov Report

Attention: 408 lines in your changes are missing coverage. Please review.

Comparison is base (c6d6c76) 0.34% compared to head (84ae21c) 0.32%.
Report is 3 commits behind head on main.

Files Patch % Lines
src/cats/cmd/_core.py 0.00% 61 Missing ⚠️
src/cats/pawprint/_footprint.py 0.00% 55 Missing ⚠️
src/cats/photometry/_base.py 0.00% 55 Missing ⚠️
src/cats/proper_motions.py 0.00% 49 Missing ⚠️
src/cats/photometry/_builtin/gaia.py 0.00% 41 Missing ⚠️
src/cats/photometry/_builtin/desi.py 0.00% 38 Missing ⚠️
src/cats/photometry/_builtin/ps1.py 0.00% 28 Missing ⚠️
src/cats/data.py 0.00% 23 Missing ⚠️
src/cats/pawprint/_core.py 0.00% 19 Missing ⚠️
src/cats/photometry/_builtin/__init__.py 0.00% 9 Missing ⚠️
... and 5 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##            main     #24      +/-   ##
========================================
- Coverage   0.34%   0.32%   -0.03%     
========================================
  Files          9      16       +7     
  Lines        864     929      +65     
========================================
  Hits           3       3              
- Misses       861     926      +65     

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

@nstarman nstarman marked this pull request as ready for review January 15, 2024 23:29
@nstarman
Copy link
Contributor Author

Suitable for squash merge!

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